Interface ImportRibs

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ImportRibs>, 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 ImportRibs
    extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnAfConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<ImportRibs>
    Import route class

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

     container importRibs {
       leaf protocol {
         type enumeration {
           enum ALL {
             value 0;
           }
           enum Direct {
             value 1;
           }
           enum OSPF {
             value 2;
           }
           enum ISIS {
             value 3;
           }
           enum Static {
             value 4;
           }
           enum RIP {
             value 5;
           }
           enum BGP {
             value 6;
           }
           enum OSPFV3 {
             value 7;
           }
           enum RIPNG {
             value 8;
           }
           enum INVALID {
             value 9;
           }
         }
       }
       leaf processId {
         default 0;
         type uint32 {
           range 0..4294967295;
         }
       }
       leaf bgp-valid-route {
         type boolean;
       }
       leaf policyName {
         type string;
       }
     }
     
    The schema path to identify an instance is l3vpn-instances-interfaces/vpn-af-config/importRibs

    To create instances of this class use ImportRibsBuilder.

    See Also:
    ImportRibsBuilder
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ImportRibs.Protocol  
    • 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<ImportRibs> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getProtocol

        @Nullable ImportRibs.Protocol getProtocol()
        Specifies the protocol from which routes are imported. At present, In the IPv4 unicast address family view, the protocol can be IS-IS,static, direct and BGP.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config.ImportRibs.Protocol protocol, or null if not present
      • getProcessId

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getProcessId()
        Specifies the process ID if the protocol from routes are imported is IS-IS.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 processId, or null if not present
      • isBgpValidRoute

        @Nullable java.lang.Boolean isBgpValidRoute()
        Returns:
        java.lang.Boolean bgpValidRoute, or null if not present
      • getPolicyName

        @Nullable java.lang.String getPolicyName()
        Policy Id for import routes
        Returns:
        java.lang.String policyName, or null if not present