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, OfHeader
All Known Subinterfaces:
PortModCaseData, PortModInput

@Generated("mdsal-binding-generator") public interface PortMod$G extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader

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

 grouping port-mod {
   uses ofHeader;
   leaf port-no {
     type oft:port-number;
   }
   leaf hw-address {
     type yang:mac-address;
   }
   leaf config {
     type oft:port-config;
   }
   leaf mask {
     type oft:port-config;
   }
   leaf advertise {
     type oft:port-features;
   }
   leaf config-v10 {
     type oft:port-config-v10;
   }
   leaf mask-v10 {
     type oft:port-config-v10;
   }
   leaf advertise-v10 {
     type oft:port-features-v10;
   }
 }
 
  • 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 PortMod$G> 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
      Specified by:
      implementedInterface in interface OfHeader
    • getPortNo

      PortNumber getPortNo()
      Return portNo, or null if it is not present.
      Returns:
      PortNumber portNo, or null if it is not present.
    • requirePortNo

      default @NonNull PortNumber requirePortNo()
      Return portNo, guaranteed to be non-null.
      Returns:
      PortNumber portNo, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if portNo is not present
    • getHwAddress

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getHwAddress()
      Return hwAddress, or null if it is not present.
      Returns:
      MacAddress hwAddress, or null if it is not present.
    • requireHwAddress

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress requireHwAddress()
      Return hwAddress, guaranteed to be non-null.
      Returns:
      MacAddress hwAddress, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if hwAddress is not present
    • getConfig

      PortConfig getConfig()
      Return config, or null if it is not present.
      Returns:
      PortConfig config, or null if it is not present.
    • requireConfig

      default @NonNull PortConfig requireConfig()
      Return config, guaranteed to be non-null.
      Returns:
      PortConfig config, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if config is not present
    • getMask

      PortConfig getMask()
      Return mask, or null if it is not present.
      Returns:
      PortConfig mask, or null if it is not present.
    • requireMask

      default @NonNull PortConfig requireMask()
      Return mask, guaranteed to be non-null.
      Returns:
      PortConfig mask, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if mask is not present
    • getAdvertise

      PortFeatures getAdvertise()
      Return advertise, or null if it is not present.
      Returns:
      PortFeatures advertise, or null if it is not present.
    • requireAdvertise

      default @NonNull PortFeatures requireAdvertise()
      Return advertise, guaranteed to be non-null.
      Returns:
      PortFeatures advertise, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if advertise is not present
    • getConfigV10

      PortConfigV10 getConfigV10()
      Return configV10, or null if it is not present.
      Returns:
      PortConfigV10 configV10, or null if it is not present.
    • requireConfigV10

      default @NonNull PortConfigV10 requireConfigV10()
      Return configV10, guaranteed to be non-null.
      Returns:
      PortConfigV10 configV10, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if configV10 is not present
    • getMaskV10

      PortConfigV10 getMaskV10()
      Return maskV10, or null if it is not present.
      Returns:
      PortConfigV10 maskV10, or null if it is not present.
    • requireMaskV10

      default @NonNull PortConfigV10 requireMaskV10()
      Return maskV10, guaranteed to be non-null.
      Returns:
      PortConfigV10 maskV10, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if maskV10 is not present
    • getAdvertiseV10

      PortFeaturesV10 getAdvertiseV10()
      Return advertiseV10, or null if it is not present.
      Returns:
      PortFeaturesV10 advertiseV10, or null if it is not present.
    • requireAdvertiseV10

      default @NonNull PortFeaturesV10 requireAdvertiseV10()
      Return advertiseV10, guaranteed to be non-null.
      Returns:
      PortFeaturesV10 advertiseV10, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if advertiseV10 is not present