Interface EthSrc

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<EthSrc>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<MatchEntryValueGrouping>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface EthSrc
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MatchEntryValueGrouping>, org.opendaylight.yangtools.yang.binding.Augmentable<EthSrc>

    This class represents the following YANG schema fragment defined in module openflow-extensible-match

     container eth-src {
       leaf mac-address {
         type yang:mac-address;
       }
       leaf mask {
         type binary;
       }
     }
     
    The schema path to identify an instance is openflow-extensible-match/match-entry-value-grouping/match-entry-value/eth-src-case/eth-src

    To create instances of this class use EthSrcBuilder.

    See Also:
    EthSrcBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<EthSrc> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMacAddress

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMacAddress()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress macAddress, or null if not present
      • getMask

        byte[] getMask()
        Returns:
        byte[] mask, or null if not present