Package org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.instances
Interface VpnInstance
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<VpnInstance>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<VpnInstances>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<VpnInstanceKey>
public interface VpnInstance extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnInstances>, org.opendaylight.yangtools.yang.binding.Augmentable<VpnInstance>, org.opendaylight.yangtools.yang.binding.Identifiable<VpnInstanceKey>
This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces
list vpn-instance { key vpn-instance-name; leaf vpn-instance-name { type string; } leaf-list route-distinguisher { type string { length 3..21; } } container vpnTargets { list vpnTarget { key vrfRTValue; leaf vrfRTValue { type string { length 3..21; } } leaf vrfRTType { type enumeration { enum export_extcommunity { value 0; } enum import_extcommunity { value 1; } enum both { value 2; } } } } } leaf l2vpn { type boolean; default false; } leaf bgpvpn-type { type enumeration { enum InternetBGPVPN { value 0; } enum BGPVPN { value 1; } enum InternalVPN { value 2; } } default BGPVPN; } leaf ip-address-family-configured { type enumeration { enum undefined { value 0; } enum ipv4 { value 4; } enum ipv6 { value 6; } enum ipv4-and-ipv6 { value 10; } } default undefined; } leaf l3vni { type uint32; } }
The schema path to identify an instance is l3vpn-instances-interfaces/vpn-instances/vpn-instanceTo create instances of this class use
VpnInstanceBuilder
.- See Also:
VpnInstanceBuilder
,VpnInstanceKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VpnInstance.BgpvpnType
static class
VpnInstance.IpAddressFamilyConfigured
-
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 VpnInstance.BgpvpnType
getBgpvpnType()
VpnInstance.IpAddressFamilyConfigured
getIpAddressFamilyConfigured()
org.opendaylight.yangtools.yang.common.Uint32
getL3vni()
@Nullable java.util.List<java.lang.String>
getRouteDistinguisher()
A set of configuration parameters that is applicable to both IPv4 and IPv6 address family for a VPN instance.java.lang.String
getVpnInstanceName()
The name of the vpn-instance.VpnTargets
getVpnTargets()
The vpn-target command configures the export or import VPN target extended community attribute for the VPN instance IPv4/IPv6 address family.default java.lang.Class<VpnInstance>
implementedInterface()
java.lang.Boolean
isL2vpn()
The type of the VPN Instance.VpnInstanceKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<VpnInstance> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVpnInstanceName
java.lang.String getVpnInstanceName()
The name of the vpn-instance.- Returns:
java.lang.String
vpnInstanceName
, ornull
if not present
-
getRouteDistinguisher
@Nullable java.util.List<java.lang.String> getRouteDistinguisher()
A set of configuration parameters that is applicable to both IPv4 and IPv6 address family for a VPN instance. Format is ASN:nn or IP-address:nn.- Returns:
java.util.List
routeDistinguisher
, ornull
if not present
-
getVpnTargets
VpnTargets getVpnTargets()
The vpn-target command configures the export or import VPN target extended community attribute for the VPN instance IPv4/IPv6 address family. Format is ASN:nn or IP-address:nn.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.instances.vpn.instance.VpnTargets
vpnTargets
, ornull
if not present
-
isL2vpn
java.lang.Boolean isL2vpn()
The type of the VPN Instance. false indicates it is an L3VPN. true indicates it is an EVPN- Returns:
java.lang.Boolean
l2vpn
, ornull
if not present
-
getBgpvpnType
VpnInstance.BgpvpnType getBgpvpnType()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.instances.VpnInstance.BgpvpnType
bgpvpnType
, ornull
if not present
-
getIpAddressFamilyConfigured
VpnInstance.IpAddressFamilyConfigured getIpAddressFamilyConfigured()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.instances.VpnInstance.IpAddressFamilyConfigured
ipAddressFamilyConfigured
, ornull
if not present
-
getL3vni
org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
l3vni
, ornull
if not present
-
key
VpnInstanceKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<VpnInstanceKey>
-
-