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/l3vpnVrfPipe

    To create instances of this class use L3vpnVrfPipeBuilder.

    See Also:
    L3vpnVrfPipeBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<L3vpnVrfPipe> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.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, or null 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, or null 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, or null 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, or null if not present