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-interfacesTo create instances of this class use
VpnInterfacesBuilder
.- See Also:
VpnInterfacesBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.util.List<VpnInterface>
getVpnInterface()
default java.lang.Class<VpnInterfaces>
implementedInterface()
default @NonNull java.util.List<VpnInterface>
nonnullVpnInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<VpnInterfaces> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVpnInterface
@Nullable java.util.List<VpnInterface> getVpnInterface()
- Returns:
java.util.List
vpnInterface
, ornull
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
-
-