Interface Networks

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Networks>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<NetworksContainer>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<NetworksKey>

    @Generated("mdsal-binding-generator")
    public interface Networks
    extends org.opendaylight.yangtools.yang.binding.ChildOf<NetworksContainer>, org.opendaylight.yangtools.yang.binding.Augmentable<Networks>, org.opendaylight.yangtools.yang.binding.Identifiable<NetworksKey>

    This class represents the following YANG schema fragment defined in module ebgp

     list networks {
       key "rd prefix-len";
       leaf rd {
         type string;
       }
       leaf prefix-len {
         type string;
       }
       leaf afi {
         type uint32;
       }
       leaf macaddress {
         type string;
       }
       leaf bgp_control_plane_type {
         type bgp_control_plane_type;
       }
       leaf nexthop {
         type inet:ipv4-address;
       }
       leaf label {
         type uint32;
       }
       leaf ethtag {
         type uint32;
       }
       leaf esi {
         type string;
       }
       leaf encap-type {
         type encap_type;
       }
       leaf routermac {
         type string;
       }
       leaf l3vni {
         type uint32;
       }
       leaf l2vni {
         type uint32;
       }
     }
     
    The schema path to identify an instance is ebgp/bgp/networksContainer/networks

    To create instances of this class use NetworksBuilder.

    See Also:
    NetworksBuilder, NetworksKey
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      static boolean bindingEquals​(@NonNull Networks thisObj, java.lang.Object obj)
      Default implementation of Object.equals(Object) contract for this interface.
      static int bindingHashCode​(@NonNull Networks obj)
      Default implementation of Object.hashCode() contract for this interface.
      static java.lang.String bindingToString​(@NonNull Networks obj)
      Default implementation of Object.toString() contract for this interface.
      org.opendaylight.yangtools.yang.common.Uint32 getAfi()
      Return afi, or null if it is not present.
      BgpControlPlaneType getBgpControlPlaneType()
      Return bgpControlPlaneType, or null if it is not present.
      EncapType getEncapType()
      Return encapType, or null if it is not present.
      java.lang.String getEsi()
      Return esi, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint32 getEthtag()
      Return ethtag, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint32 getL2vni()
      Return l2vni, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
      Return l3vni, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint32 getLabel()
      Return label, or null if it is not present.
      java.lang.String getMacaddress()
      Return macaddress, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getNexthop()
      Return nexthop, or null if it is not present.
      java.lang.String getPrefixLen()
      Return prefixLen, or null if it is not present.
      java.lang.String getRd()
      Return rd, or null if it is not present.
      java.lang.String getRoutermac()
      Return routermac, or null if it is not present.
      default java.lang.Class<Networks> implementedInterface()  
      NetworksKey key()  
      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable

        augmentation, augmentations
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        static int bindingHashCode​(@NonNull Networks obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        java.lang.NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull Networks thisObj,
                                     java.lang.Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        java.lang.NullPointerException - if thisObj is null
      • bindingToString

        static java.lang.String bindingToString​(@NonNull Networks obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        java.lang.NullPointerException - if obj is null
      • getRd

        java.lang.String getRd()
        Return rd, or null if it is not present.
        Returns:
        java.lang.String rd, or null if it is not present.
      • getPrefixLen

        java.lang.String getPrefixLen()
        Return prefixLen, or null if it is not present.
        Returns:
        java.lang.String prefixLen, or null if it is not present.
      • getAfi

        org.opendaylight.yangtools.yang.common.Uint32 getAfi()
        Return afi, or null if it is not present.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 afi, or null if it is not present.
      • getMacaddress

        java.lang.String getMacaddress()
        Return macaddress, or null if it is not present.
             
                 Mac address of the advertised host.
             
         
        Returns:
        java.lang.String macaddress, or null if it is not present.
      • getBgpControlPlaneType

        BgpControlPlaneType getBgpControlPlaneType()
        Return bgpControlPlaneType, or null if it is not present.
             
                 Specifies the route type
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.BgpControlPlaneType bgpControlPlaneType, or null if it is not present.
      • getNexthop

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getNexthop()
        Return nexthop, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address nexthop, or null if it is not present.
      • getLabel

        org.opendaylight.yangtools.yang.common.Uint32 getLabel()
        Return label, or null if it is not present.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 label, or null if it is not present.
      • getEthtag

        org.opendaylight.yangtools.yang.common.Uint32 getEthtag()
        Return ethtag, or null if it is not present.
             
                 Ethernet Tag Id to Identify a broadcast domain in an EVPN Instance
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 ethtag, or null if it is not present.
      • getEsi

        java.lang.String getEsi()
        Return esi, or null if it is not present.
             
                 Ethernet Segment Identifier.
             
         
        Returns:
        java.lang.String esi, or null if it is not present.
      • getEncapType

        EncapType getEncapType()
        Return encapType, or null if it is not present.
             
                 Encapsulation types supported as per RFC 5512.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.EncapType encapType, or null if it is not present.
      • getRoutermac

        java.lang.String getRoutermac()
        Return routermac, or null if it is not present.
             
                 Gateway Mac Address for the advertised host.
             
         
        Returns:
        java.lang.String routermac, or null if it is not present.
      • getL3vni

        org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
        Return l3vni, or null if it is not present.
             
                 VxLAN Identifier.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 l3vni, or null if it is not present.
      • getL2vni

        org.opendaylight.yangtools.yang.common.Uint32 getL2vni()
        Return l2vni, or null if it is not present.
             
                 l2vni for EVPN RT2 route advertisement
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 l2vni, or null if it is not present.
      • key

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