Interface RouterToNaptSwitch

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<RouterToNaptSwitch>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<NaptSwitches>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<RouterToNaptSwitchKey>

    public interface RouterToNaptSwitch
    extends org.opendaylight.yangtools.yang.binding.ChildOf<NaptSwitches>, org.opendaylight.yangtools.yang.binding.Augmentable<RouterToNaptSwitch>, org.opendaylight.yangtools.yang.binding.Identifiable<RouterToNaptSwitchKey>

    This class represents the following YANG schema fragment defined in module odl-nat

     list router-to-napt-switch {
       key router-name;
       leaf router-name {
         type string;
       }
       leaf primary-switch-id {
         type uint64;
       }
       leaf enable-snat {
         type boolean;
       }
     }
     
    The schema path to identify an instance is odl-nat/napt-switches/router-to-napt-switch

    To create instances of this class use RouterToNaptSwitchBuilder.

    See Also:
    RouterToNaptSwitchBuilder, RouterToNaptSwitchKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<RouterToNaptSwitch> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getRouterName

        @Nullable java.lang.String getRouterName()
        Returns:
        java.lang.String routerName, or null if not present
      • getPrimarySwitchId

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getPrimarySwitchId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 primarySwitchId, or null if not present
      • isEnableSnat

        @Nullable java.lang.Boolean isEnableSnat()
        Returns:
        java.lang.Boolean enableSnat, or null if not present