Interface Vpn

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Vpn>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<VpnToExtraroutes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<VpnKey>

    public interface Vpn
    extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnToExtraroutes>, org.opendaylight.yangtools.yang.binding.Augmentable<Vpn>, org.opendaylight.yangtools.yang.binding.Identifiable<VpnKey>

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

     list vpn {
       key vpn-name;
       leaf vpn-name {
         type string;
       }
       list extra-routes {
         key vrf-id;
         leaf vrf-id {
           type string;
         }
         list routes {
           key prefix;
           leaf prefix {
             type string;
           }
           leaf-list nexthop-ip-list {
             type string;
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-l3vpn/vpn-to-extraroutes/vpn

    To create instances of this class use VpnBuilder.

    See Also:
    VpnBuilder, VpnKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<Vpn> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getVpnName

        @Nullable java.lang.String getVpnName()
        VPN Instance name
        Returns:
        java.lang.String vpnName, or null if not present
      • getExtraRoutes

        @Nullable java.util.List<ExtraRoutes> getExtraRoutes()
        Returns:
        java.util.List extraRoutes, or null if not present
      • nonnullExtraRoutes

        default @NonNull java.util.List<ExtraRoutes> nonnullExtraRoutes()
        Returns:
        java.util.List extraRoutes, or an empty list if it is not present
      • key

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