Interface PortGrouping

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    PhyPort, Ports, PortStatus, PortStatusMessage

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

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

     grouping port-grouping {
       leaf port-no {
         type uint32;
       }
       leaf hw-addr {
         type yang:mac-address;
       }
       leaf name {
         type string;
       }
       leaf config {
         type oft:port-config;
       }
       leaf state {
         type oft:port-state;
       }
       leaf current-features {
         type oft:port-features;
       }
       leaf advertised-features {
         type oft:port-features;
       }
       leaf supported-features {
         type oft:port-features;
       }
       leaf peer-features {
         type oft:port-features;
       }
       leaf curr-speed {
         type uint32;
         units kbps;
       }
       leaf max-speed {
         type uint32;
         units kbps;
       }
       leaf config-v10 {
         type oft:port-config-v10;
       }
       leaf state-v10 {
         type oft:port-state-v10;
       }
       leaf current-features-v10 {
         type oft:port-features-v10;
       }
       leaf advertised-features-v10 {
         type oft:port-features-v10;
       }
       leaf supported-features-v10 {
         type oft:port-features-v10;
       }
       leaf peer-features-v10 {
         type oft:port-features-v10;
       }
     }
     
    The schema path to identify an instance is openflow-protocol/port-grouping
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        org.opendaylight.yangtools.yang.common.Uint32 getPortNo()
        Return portNo, or null if it is not present.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 portNo, or null if it is not present.
      • getHwAddr

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

        String getName()
        Return name, or null if it is not present.
        Returns:
        java.lang.String name, or null if it is not present.
      • getConfig

        PortConfig getConfig()
        Return config, or null if it is not present.
             
                 Bitmap of OFPPC_* flags.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfig config, or null if it is not present.
      • getState

        PortState getState()
        Return state, or null if it is not present.
             
                 Bitmap of OFPPS_* flags.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortState state, or null if it is not present.
      • getCurrentFeatures

        PortFeatures getCurrentFeatures()
        Return currentFeatures, or null if it is not present.
             
                 Current features.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures currentFeatures, or null if it is not present.
      • getAdvertisedFeatures

        PortFeatures getAdvertisedFeatures()
        Return advertisedFeatures, or null if it is not present.
             
                 Features being advertised by the port.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures advertisedFeatures, or null if it is not present.
      • getSupportedFeatures

        PortFeatures getSupportedFeatures()
        Return supportedFeatures, or null if it is not present.
             
                 Features supported by the port.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures supportedFeatures, or null if it is not present.
      • getPeerFeatures

        PortFeatures getPeerFeatures()
        Return peerFeatures, or null if it is not present.
             
                 Features advertised by peer.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures peerFeatures, or null if it is not present.
      • getCurrSpeed

        org.opendaylight.yangtools.yang.common.Uint32 getCurrSpeed()
        Return currSpeed, or null if it is not present.
             
                 Current port bitrate in kbps.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 currSpeed, or null if it is not present.
      • getMaxSpeed

        org.opendaylight.yangtools.yang.common.Uint32 getMaxSpeed()
        Return maxSpeed, or null if it is not present.
             
                 Max port bitrate in kbps
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 maxSpeed, or null if it is not present.
      • getConfigV10

        PortConfigV10 getConfigV10()
        Return configV10, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfigV10 configV10, or null if it is not present.
      • getStateV10

        PortStateV10 getStateV10()
        Return stateV10, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortStateV10 stateV10, or null if it is not present.
      • getCurrentFeaturesV10

        PortFeaturesV10 getCurrentFeaturesV10()
        Return currentFeaturesV10, or null if it is not present.
             
                 Current features.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10 currentFeaturesV10, or null if it is not present.
      • getAdvertisedFeaturesV10

        PortFeaturesV10 getAdvertisedFeaturesV10()
        Return advertisedFeaturesV10, or null if it is not present.
             
                 Features being advertised by the port.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10 advertisedFeaturesV10, or null if it is not present.
      • getSupportedFeaturesV10

        PortFeaturesV10 getSupportedFeaturesV10()
        Return supportedFeaturesV10, or null if it is not present.
             
                 Features supported by the port.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10 supportedFeaturesV10, or null if it is not present.
      • getPeerFeaturesV10

        PortFeaturesV10 getPeerFeaturesV10()
        Return peerFeaturesV10, or null if it is not present.
             
                 Features advertised by peer.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10 peerFeaturesV10, or null if it is not present.