Interface L2gatewayAttributes

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

    public interface L2gatewayAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping l2gateway-attributes {
       list devices {
         key uuid;
         leaf uuid {
           type yang:uuid;
         }
         leaf device-name {
           type string;
         }
         list interfaces {
           key interface-name;
           leaf interface-name {
             type string;
           }
           leaf-list segmentation-ids {
             type int32;
           }
         }
       }
     }
     
    The schema path to identify an instance is neutron-l2gateways/l2gateway-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<DevicesKey,​Devices> getDevices()
        Description of devices.
        Returns:
        java.util.Map devices, or null if not present
      • nonnullDevices

        default @NonNull Map<DevicesKey,​Devices> nonnullDevices()
        Returns:
        java.util.Map devices, or an empty list if it is not present