openconfig-keychain

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

Prefix: oc-keychain

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-keychain \
  -d @config.json

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌍 OpenConfig Docs
module: openconfig-keychain
  +--rw keychains
     +--rw keychain* [name]
        +--rw name      -> ../config/name
        +--rw config
        |  +--rw name?        string
        |  +--rw tolerance?   union
        +--ro state
        |  +--ro name?        string
        |  +--ro tolerance?   union
        +--rw keys
           +--rw key* [key-id]
              +--rw key-id              -> ../config/key-id
              +--rw config
              |  +--rw key-id?             union
              |  +--rw secret-key?         string
              |  +--rw crypto-algorithm?   identityref
              +--ro state
              |  +--ro key-id?             union
              |  +--ro secret-key?         string
              |  +--ro crypto-algorithm?   identityref
              +--rw send-lifetime
              |  +--rw config
              |  |  +--rw start-time?         oc-types:timeticks64
              |  |  +--rw end-time?           oc-types:timeticks64
              |  |  +--rw send-and-receive?   boolean
              |  +--ro state
              |     +--ro start-time?         oc-types:timeticks64
              |     +--ro end-time?           oc-types:timeticks64
              |     +--ro send-and-receive?   boolean
              +--rw receive-lifetime
                 +--rw config
                 |  +--rw start-time?   oc-types:timeticks64
                 |  +--rw end-time?     oc-types:timeticks64
                 +--ro state
                    +--ro start-time?   oc-types:timeticks64
                    +--ro end-time?     oc-types:timeticks64