Interface ProviderAttributes

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

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

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

     grouping provider-attributes {
       leaf physical-network {
         type string;
       }
       leaf network-type {
         type networks:network-type;
       }
       leaf segmentation-id {
         type string;
       }
       leaf segmentation-index {
         type uint32;
       }
     }
     
    The schema path to identify an instance is neutron-provider/provider-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        String getPhysicalNetwork()
        Return physicalNetwork, or null if it is not present.
             
                 The physical network where this network object is implemented. The Networking
                 API v2.0 does not provide a way to list available physical networks. For
                 example, the Open vSwitch plug-in configuration file defines a symbolic name
                 that maps to specific bridges on each Compute host.
             
         
        Returns:
        java.lang.String physicalNetwork, or null if it is not present.
      • getNetworkType

        Class<? extends NetworkTypeBase> getNetworkType()
        Return networkType, or null if it is not present.
             
                 The type of physical network that maps to this network resource.
             
         
        Returns:
        java.lang.Class networkType, or null if it is not present.
      • getSegmentationId

        String getSegmentationId()
        Return segmentationId, or null if it is not present.
             
                 An isolated segment on the physical network. The network-type attribute defines
                 the segmentation model. For example, if network-type is vlan, this ID is a vlan
                 identifier. If network-type is gre, this ID is a gre key.
             
         
        Returns:
        java.lang.String segmentationId, or null if it is not present.
      • getSegmentationIndex

        org.opendaylight.yangtools.yang.common.Uint32 getSegmentationIndex()
        Return segmentationIndex, or null if it is not present.
             
                 A hidden counter to act as a key, because segmentation id is not required.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 segmentationIndex, or null if it is not present.