Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.mac.ip.adv.route
Interface MacIpAdvRoute
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<MacIpAdvRoute>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.ChildOf<MacIpAdvRoute>,org.opendaylight.yangtools.binding.ContainerObject<MacIpAdvRoute,,MacIpAdvRoute> org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,Esi,EthernetTagId,org.opendaylight.yangtools.binding.Grouping,org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,,MacIpAdvRoute> org.opendaylight.yangtools.binding.lib.JavaDataContainer<MacIpAdvRoute>,org.opendaylight.yangtools.binding.ParentObject<MacIpAdvRoute>
@Generated("mdsal-binding-generator")
public interface MacIpAdvRoute
extends org.opendaylight.yangtools.binding.ContainerObject<MacIpAdvRoute,MacIpAdvRoute>, Esi, EthernetTagId
MAC/IP Advertisement route
This class represents the following YANG schema fragment defined in module odl-bgp-evpn
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;
}
}
To create instances of this class use MacIpAdvRouteBuilder.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameThe YANG identifier of thecontainerstatement represented by this interface. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZoneReturnsIpAddressNoZoneipAddress, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddressReturnsMacAddressmacAddress, ornullif it is not present.ReturnsMplsLabelmplsLabel1, ornullif it is not present.ReturnsMplsLabelmplsLabel2, ornullif it is not present.default Class<MacIpAdvRoute> default booleanjavaEQ(MacIpAdvRoute obj) default intjavaHC()default StringjavaTS()default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZoneReturnsIpAddressNoZoneipAddress, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddressReturnsMacAddressmacAddress, guaranteed to be non-null.default @NonNull MplsLabelReturnsMplsLabelmplsLabel1, guaranteed to be non-null.default @NonNull MplsLabelReturnsMplsLabelmplsLabel2, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentationsMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.Esi
getEsiMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.EthernetTagId
getEthernetTagId, nonnullEthernetTagIdMethods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract
equals, hashCode, toString
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEThe YANG identifier of thecontainerstatement represented by this interface.
-
-
Method Details
-
getMacAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMacAddress()ReturnsMacAddressmacAddress, ornullif it is not present.- Returns:
MacAddressmacAddress, ornullif it is not present
-
requireMacAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress requireMacAddress()ReturnsMacAddressmacAddress, guaranteed to be non-null.- Returns:
MacAddressmacAddress, guaranteed to be non-null- Throws:
NoSuchElementException- if macAddress is not present
-
getIpAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone getIpAddress()ReturnsIpAddressNoZoneipAddress, ornullif it is not present.- Returns:
IpAddressNoZoneipAddress, ornullif it is not present
-
requireIpAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone requireIpAddress()ReturnsIpAddressNoZoneipAddress, guaranteed to be non-null.- Returns:
IpAddressNoZoneipAddress, guaranteed to be non-null- Throws:
NoSuchElementException- if ipAddress is not present
-
getMplsLabel1
MplsLabel getMplsLabel1()ReturnsMplsLabelmplsLabel1, ornullif it is not present.- Returns:
MplsLabelmplsLabel1, ornullif it is not present
-
requireMplsLabel1
ReturnsMplsLabelmplsLabel1, guaranteed to be non-null.- Returns:
MplsLabelmplsLabel1, guaranteed to be non-null- Throws:
NoSuchElementException- if mplsLabel1 is not present
-
getMplsLabel2
MplsLabel getMplsLabel2()ReturnsMplsLabelmplsLabel2, ornullif it is not present.- Returns:
MplsLabelmplsLabel2, ornullif it is not present
-
requireMplsLabel2
ReturnsMplsLabelmplsLabel2, guaranteed to be non-null.- Returns:
MplsLabelmplsLabel2, guaranteed to be non-null- Throws:
NoSuchElementException- if mplsLabel2 is not present
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.ParentObject<MacIpAdvRoute>
-
javaHC
default int javaHC()- Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,MacIpAdvRoute> - Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<MacIpAdvRoute>
-
javaEQ
- Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,MacIpAdvRoute> - Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<MacIpAdvRoute>
-
javaTS
- Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,MacIpAdvRoute> - Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<MacIpAdvRoute>
-