openconfig-lacp

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-lacp

Prefix: oc-lacp

Related Modules:
openconfig-access-points
openconfig-acl
openconfig-alarms

💡 Example Usage

# PUT configuration
curl -X PUT \
  -H "Content-Type: application/yang-data+json" \
  -u admin:password \
  --insecure \
  https://device-ip/restconf/data/openconfig-lacp \
  -d @config.json

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌍 OpenConfig Docs
module: openconfig-lacp
  +--rw lacp
     +--rw config
     |  +--rw system-priority?   uint16
     +--ro state
     |  +--ro system-priority?   uint16
     +--rw interfaces
        +--rw interface* [name]
           +--rw name       -> ../config/name
           +--rw config
           |  +--rw name?              oc-if:base-interface-ref
           |  +--rw interval?          lacp-period-type
           |  +--rw lacp-mode?         lacp-activity-type
           |  +--rw system-id-mac?     yang:mac-address
           |  +--rw system-priority?   uint16
           +--ro state
           |  +--ro name?              oc-if:base-interface-ref
           |  +--ro interval?          lacp-period-type
           |  +--ro lacp-mode?         lacp-activity-type
           |  +--ro system-id-mac?     yang:mac-address
           |  +--ro system-priority?   uint16
           +--ro members
              +--ro member* [interface]
                 +--ro interface    -> ../state/interface
                 +--ro state
                    +--ro interface?          oc-if:base-interface-ref
                    +--ro activity?           lacp-activity-type
                    +--ro timeout?            lacp-timeout-type
                    +--ro synchronization?    lacp-synchronization-type
                    +--ro aggregatable?       boolean
                    +--ro collecting?         boolean
                    +--ro distributing?       boolean
                    +--ro system-id?          yang:mac-address
                    +--ro oper-key?           uint16
                    +--ro partner-id?         yang:mac-address
                    +--ro partner-key?        uint16
                    +--ro port-num?           uint16
                    +--ro partner-port-num?   uint16
                    +--ro counters
                       +--ro lacp-in-pkts?          yang:counter64
                       +--ro lacp-out-pkts?         yang:counter64
                       +--ro lacp-rx-errors?        yang:counter64
                       +--ro lacp-tx-errors?        yang:counter64
                       +--ro lacp-unknown-errors?   yang:counter64
                       +--ro lacp-errors?           yang:counter64