All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
MacIpAdvRouteCase

@Generated("mdsal-binding-generator") public interface MacIpAdvRoute extends org.opendaylight.yangtools.yang.binding.DataObject

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

 grouping mac-ip-adv-route {
   container mac-ip-adv-route {
     uses esi;
     uses ethernet-tag-id;
     leaf mac-address {
       type yang:mac-address;
     }
     leaf ip-address {
       type inet:ip-address-no-zone;
     }
     leaf mpls-label1 {
       type netc:mpls-label;
     }
     leaf mpls-label2 {
       type netc:mpls-label;
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return macIpAdvRoute, or null if it is not present.
    Class<? extends MacIpAdvRoute>
     
    @NonNull MacIpAdvRoute
    Return macIpAdvRoute, or an empty instance if it is not present.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends MacIpAdvRoute> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getMacIpAdvRoute

      MacIpAdvRoute getMacIpAdvRoute()
      Return macIpAdvRoute, or null if it is not present.
           
               MAC/IP Advertisement route
           
       
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.mac.ip.adv.route.MacIpAdvRoute macIpAdvRoute, or null if it is not present.
    • nonnullMacIpAdvRoute

      @NonNull MacIpAdvRoute nonnullMacIpAdvRoute()
      Return macIpAdvRoute, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.mac.ip.adv.route.MacIpAdvRoute macIpAdvRoute, or an empty instance if it is not present.