openconfig-platform-port

YANG Data Model Tree Structure

View YANG Source on GitHub →

📚 API Documentation & Navigation

📄 Swagger API Spec 📂 Browse OpenConfig APIs 🌳 All Trees

📋 Module Metadata

Namespace: http://openconfig.net/yang/openconfig-platform-port

Prefix: oc-platform-p

Related Modules:
CISCO-AAL5-MIB
CISCO-ATM-EXT-MIB
Cisco-IOS-XE-aaa
Cisco-IOS-XE-acl
Cisco-IOS-XE-adsl

💡 Example Usage

# GET module data
curl -X GET \
  -H "Accept: application/yang-data+json" \
  -u admin:password \
  --insecure \
  https://device-ip/restconf/data/openconfig-platform-port

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌍 OpenConfig Docs
module: openconfig-platform-port

  augment /oc-platform:components/oc-platform:component/oc-platform:port:
    +--rw breakout-mode
       +--rw config
       |  +--rw num-channels?    uint8
       |  +--rw channel-speed?   identityref
       +--ro state
          +--ro num-channels?    uint8
          +--ro channel-speed?   identityref
  augment /oc-if:interfaces/oc-if:interface/oc-if:state:
    +--ro hardware-port?   -> /oc-platform:components/component/name