Interface VpnInterfaces

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<VpnInterfaces>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<L3vpnInstancesInterfacesData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface VpnInterfaces
    extends org.opendaylight.yangtools.yang.binding.ChildOf<L3vpnInstancesInterfacesData>, org.opendaylight.yangtools.yang.binding.Augmentable<VpnInterfaces>
    VPN is enabled on interfaces.

    This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces

     container vpn-interfaces {
       list vpn-interface {
         key name;
         leaf name {
           type leafref {
             path /if:interfaces/if:interface/if:name;
           }
         }
         list vpn-instance-names {
           key vpn-name;
           leaf vpn-name {
             type string {
               length 1..40;
             }
           }
           leaf associated-subnet-type {
             type enumeration {
               enum V4Subnet {
                 value 0;
               }
               enum V6Subnet {
                 value 1;
               }
               enum V6InternetVPN {
                 value 2;
               }
               enum V4AndV6Subnets {
                 value 3;
               }
             }
           }
         }
         leaf dpn-id {
           type uint64;
         }
         leaf router-interface {
           type boolean;
         }
         uses nvpn:network-attributes;
       }
     }
     
    The schema path to identify an instance is l3vpn-instances-interfaces/vpn-interfaces

    To create instances of this class use VpnInterfacesBuilder.

    See Also:
    VpnInterfacesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.util.List<VpnInterface> getVpnInterface()
        Returns:
        java.util.List vpnInterface, or null if not present
      • nonnullVpnInterface

        default @NonNull java.util.List<VpnInterface> nonnullVpnInterface()
        Returns:
        java.util.List vpnInterface, or an empty list if it is not present