Interface VpnInstances
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<VpnInstances>
,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 VpnInstances extends org.opendaylight.yangtools.yang.binding.ChildOf<L3vpnInstancesInterfacesData>, org.opendaylight.yangtools.yang.binding.Augmentable<VpnInstances>
VPN instances configuration parameters. VPN instances support both the IPv4 and IPv6 address families.This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces
container vpn-instances { list vpn-instance { key vpn-instance-name; leaf vpn-instance-name { type string; } leaf type { type enumeration { enum l3 { value 0; } enum l2 { value 1; } } default l3; } leaf l3vni { type uint32; } leaf description { type string { length 1..242; pattern ([^?]*); } } container ipv4-family { uses vpn-af-config; } container ipv6-family { uses vpn-af-config; } } }
The schema path to identify an instance is l3vpn-instances-interfaces/vpn-instancesTo create instances of this class use
VpnInstancesBuilder
.- See Also:
VpnInstancesBuilder
-
-
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<VpnInstance>
getVpnInstance()
Specifies the name of the VPN instance.default java.lang.Class<VpnInstances>
implementedInterface()
default @NonNull java.util.List<VpnInstance>
nonnullVpnInstance()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<VpnInstances> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVpnInstance
@Nullable java.util.List<VpnInstance> getVpnInstance()
Specifies the name of the VPN instance. It is a string of 1 to 31 case-sensitive characters.- Returns:
java.util.List
vpnInstance
, ornull
if not present
-
nonnullVpnInstance
default @NonNull java.util.List<VpnInstance> nonnullVpnInstance()
- Returns:
java.util.List
vpnInstance
, or an empty list if it is not present
-
-