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, HwvtepNodeIdentification
All Known Subinterfaces:
LogicalSwitches

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

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

 grouping hwvtep-logical-switch-attributes {
   uses hwvtep-node-identification;
   leaf logical-switch-uuid {
     type yang:uuid;
   }
   leaf tunnel-key {
     type string;
   }
   leaf replication-mode {
     type string;
   }
 }
 
  • 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 HwvtepLogicalSwitchAttributes> 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 HwvtepNodeIdentification
    • getLogicalSwitchUuid

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalSwitchUuid()
      Return logicalSwitchUuid, or null if it is not present.
           
               A unique identifier of the logical switch
           
       
      Returns:
      Uuid logicalSwitchUuid, or null if it is not present.
    • requireLogicalSwitchUuid

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireLogicalSwitchUuid()
      Return logicalSwitchUuid, guaranteed to be non-null.
           
               A unique identifier of the logical switch
           
       
      Returns:
      Uuid logicalSwitchUuid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if logicalSwitchUuid is not present
    • getTunnelKey

      String getTunnelKey()
      Return tunnelKey, or null if it is not present.
           
               Per Logical Switch tunnel key
           
       
      Returns:
      String tunnelKey, or null if it is not present.
    • requireTunnelKey

      default @NonNull String requireTunnelKey()
      Return tunnelKey, guaranteed to be non-null.
           
               Per Logical Switch tunnel key
           
       
      Returns:
      String tunnelKey, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if tunnelKey is not present
    • getReplicationMode

      String getReplicationMode()
      Return replicationMode, or null if it is not present.
           
               Per Logical Switch replication mode
           
       
      Returns:
      String replicationMode, or null if it is not present.
    • requireReplicationMode

      default @NonNull String requireReplicationMode()
      Return replicationMode, guaranteed to be non-null.
           
               Per Logical Switch replication mode
           
       
      Returns:
      String replicationMode, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if replicationMode is not present