Interface L2gatewayConnectionAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    L2gatewayConnection

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

    This class represents the following YANG schema fragment defined in module neutron-l2gateways

     grouping l2gateway-connection-attributes {
       leaf l2gateway-id {
         type yang:uuid;
       }
       leaf network-id {
         type yang:uuid;
       }
       leaf segment-id {
         type int32;
       }
       leaf port-id {
         type yang:uuid;
       }
     }
     
    The schema path to identify an instance is neutron-l2gateways/l2gateway-connection-attributes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getL2gatewayId()
      Return l2gatewayId, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkId()
      Return networkId, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPortId()
      Return portId, or null if it is not present.
      Integer getSegmentId()
      Return segmentId, or null if it is not present.
      Class<? extends L2gatewayConnectionAttributes> implementedInterface()  
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireL2gatewayId()
      Return l2gatewayId, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireNetworkId()
      Return networkId, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requirePortId()
      Return portId, guaranteed to be non-null.
      default @NonNull Integer requireSegmentId()
      Return segmentId, guaranteed to be non-null.
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getL2gatewayId()
        Return l2gatewayId, or null if it is not present.
        Returns:
        Uuid l2gatewayId, or null if it is not present.
      • requireL2gatewayId

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkId()
        Return networkId, or null if it is not present.
        Returns:
        Uuid networkId, or null if it is not present.
      • requireNetworkId

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

        Integer getSegmentId()
        Return segmentId, or null if it is not present.
        Returns:
        Integer segmentId, or null if it is not present.
      • requireSegmentId

        default @NonNull Integer requireSegmentId()
        Return segmentId, guaranteed to be non-null.
        Returns:
        Integer segmentId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if segmentId is not present
      • getPortId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPortId()
        Return portId, or null if it is not present.
        Returns:
        Uuid portId, or null if it is not present.
      • requirePortId

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