Package org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config
Interface L3vpnVrfPipe
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<L3vpnVrfPipe>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<VpnAfConfig>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface L3vpnVrfPipe extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnAfConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<L3vpnVrfPipe>
The diffserv-mode command configures the mode of the MPLS differentiated (Diff-Serv) for ensuring end-to-end QoS.This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces
container l3vpnVrfPipe { leaf pipeMode { type enumeration { enum pipe { value 0; } enum shortPipe { value 1; } enum uniform { value 2; } } default uniform; } leaf serviceClass { type enumeration { enum be { value 0; } enum af1 { value 1; } enum af2 { value 2; } enum af3 { value 3; } enum af4 { value 4; } enum ef { value 5; } enum cs6 { value 6; } enum cs7 { value 7; } } default be; } leaf color { type enumeration { enum green { value 0; } enum yellow { value 1; } enum red { value 2; } } default green; } leaf dsName { type string; default default; } }
The schema path to identify an instance is l3vpn-instances-interfaces/vpn-af-config/l3vpnVrfPipeTo create instances of this class use
L3vpnVrfPipeBuilder
.- See Also:
L3vpnVrfPipeBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
L3vpnVrfPipe.Color
static class
L3vpnVrfPipe.PipeMode
static class
L3vpnVrfPipe.ServiceClass
-
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 L3vpnVrfPipe.Color
getColor()
Specifies a color for marking the discard priority of a packet transferred from a private network to a public network.@Nullable java.lang.String
getDsName()
Specifies the DS domain name of the specified Per-Hop Behavior (PHB) applied to the egress in Short pipe mode.@Nullable L3vpnVrfPipe.PipeMode
getPipeMode()
Pipe mode@Nullable L3vpnVrfPipe.ServiceClass
getServiceClass()
Service Class, Specifies the service type when the packet enters the public network from the private network.default java.lang.Class<L3vpnVrfPipe>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<L3vpnVrfPipe> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPipeMode
@Nullable L3vpnVrfPipe.PipeMode getPipeMode()
Pipe mode- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config.L3vpnVrfPipe.PipeMode
pipeMode
, ornull
if not present
-
getServiceClass
@Nullable L3vpnVrfPipe.ServiceClass getServiceClass()
Service Class, Specifies the service type when the packet enters the public network from the private network. The values are cs7, cs6, ef, af4, af3, af2, af1, be.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config.L3vpnVrfPipe.ServiceClass
serviceClass
, ornull
if not present
-
getColor
@Nullable L3vpnVrfPipe.Color getColor()
Specifies a color for marking the discard priority of a packet transferred from a private network to a public network. The values are green, yellow, and red.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config.L3vpnVrfPipe.Color
color
, ornull
if not present
-
getDsName
@Nullable java.lang.String getDsName()
Specifies the DS domain name of the specified Per-Hop Behavior (PHB) applied to the egress in Short pipe mode. It is a string of 1 to 31 characters.- Returns:
java.lang.String
dsName
, ornull
if not present
-
-