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 class

    This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces

     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 l3vpn-instances-interfaces/vpn-af-config/vpnTargets/vpnTarget

    To 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  
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<VpnTarget> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.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, or null 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.neutronvpn.l3vpn.rev200204.vpn.af.config.vpntargets.VpnTarget.VrfRTType vrfRTType, or null if not present
      • key

        VpnTargetKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<VpnTargetKey>