Interface VpnTarget
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<VpnTarget>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<VpnTargets>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<VpnTargetKey>
public interface VpnTarget extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnTargets>, org.opendaylight.yangtools.yang.binding.Augmentable<VpnTarget>, org.opendaylight.yangtools.yang.binding.Identifiable<VpnTargetKey>
L3vpn vpntarget configure classThis class represents the following YANG schema fragment defined in module odl-l3vpn
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; } } } }
The schema path to identify an instance is odl-l3vpn/vpn-instance-op-data/vpn-instance-op-data-entry/vpnTargets/vpnTargetTo create instances of this class use
VpnTargetBuilder
.- See Also:
VpnTargetBuilder
,VpnTargetKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VpnTarget.VrfRTType
-
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 VpnTarget.VrfRTType
getVrfRTType()
Specifies the vpn target type, export-extcommunity: specifies the extended community attributes carried in routing information to be sent.@Nullable java.lang.String
getVrfRTValue()
Vpn-target: adds VPN target extended community attribute to the export or import VPN target extended community list.default java.lang.Class<VpnTarget>
implementedInterface()
VpnTargetKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<VpnTarget> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVrfRTValue
@Nullable java.lang.String getVrfRTValue()
Vpn-target: adds VPN target extended community attribute to the export or import VPN target extended community list. The vpn-target can be expressed in either of the following formats: (1)16-bit AS number:32-bit user-defined number For example, 1:3. The AS number ranges from 0 to 65535. The user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot be 0s at the same time. That is, a VPN target cannot be 0:0. (2)32-bit IP address:16-bit user-defined number For example, 192.168.122.15:1. The IP address ranges from 0.0.0.0 to 255.255.255.255. The user-defined number ranges from 0 to 65535. (3)32-bit IP address:16-bit user-defined number For example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.- Returns:
java.lang.String
vrfRTValue
, ornull
if not present
-
getVrfRTType
@Nullable VpnTarget.VrfRTType getVrfRTType()
Specifies the vpn target type, export-extcommunity: specifies the extended community attributes carried in routing information to be sent. import-extcommunity: receives routing information carrying specified extended community attributes.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.vpn.instance.op.data.vpn.instance.op.data.entry.vpntargets.VpnTarget.VrfRTType
vrfRTType
, ornull
if not present
-
key
VpnTargetKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<VpnTargetKey>
-
-