Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISIS-SR-LI #41

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

ISIS-SR-LI #41

wants to merge 2 commits into from

Conversation

SuryyaKrJana
Copy link
Contributor

@SuryyaKrJana SuryyaKrJana commented Jan 16, 2025

module: open-traffic-generator-isis
  +--rw isis-routers
     +--ro isis-router* [name]
        +--ro name     -> ../state/name
        +--ro state
           +--ro name?                  string
           +--ro counters
           |  +--ro level1
           |  |  +--ro sessions-up?        otg-types:counter64
           |  |  +--ro sessions-flap?      otg-types:counter64
           |  |  +--ro database-size?      otg-types:counter64
           |  |  +--ro out-bcast-hellos?   otg-types:counter64
           |  |  +--ro in-bcast-hellos?    otg-types:counter64
           |  |  +--ro out-p2p-hellos?     otg-types:counter64
           |  |  +--ro in-p2p-hellos?      otg-types:counter64
           |  |  +--ro out-psnp?           otg-types:counter64
           |  |  +--ro in-psnp?            otg-types:counter64
           |  |  +--ro out-csnp?           otg-types:counter64
           |  |  +--ro in-csnp?            otg-types:counter64
           |  |  +--ro out-lsp?            otg-types:counter64
           |  |  +--ro in-lsp?             otg-types:counter64
           |  +--ro level2
           |     +--ro sessions-up?        otg-types:counter64
           |     +--ro sessions-flap?      otg-types:counter64
           |     +--ro database-size?      otg-types:counter64
           |     +--ro out-bcast-hellos?   otg-types:counter64
           |     +--ro in-bcast-hellos?    otg-types:counter64
           |     +--ro out-p2p-hellos?     otg-types:counter64
           |     +--ro in-p2p-hellos?      otg-types:counter64
           |     +--ro out-psnp?           otg-types:counter64
           |     +--ro in-psnp?            otg-types:counter64
           |     +--ro out-csnp?           otg-types:counter64
           |     +--ro in-csnp?            otg-types:counter64
           |     +--ro out-lsp?            otg-types:counter64
           |     +--ro in-lsp?             otg-types:counter64
           +--ro link-state-database
              +--ro lsp-states
                 +--ro lsps* [lsp-id pdu-type]
                    +--ro lsp-id      -> ../state/lsp-id
                    +--ro pdu-type    -> ../state/pdu-type
                    +--ro state
                    |  +--ro lsp-id                otg-types:hex-string
                    |  +--ro pdu-type              enumeration
                    |  +--ro remaining-lifetime    uint16
                    |  +--ro sequence-number?      uint32
                    |  +--ro pdu-length            uint16
                    |  +--ro flags*                enumeration
                    |  +--ro is-type               uint8
                    +--ro tlvs
                       +--ro hostnames
                       |  +--ro state
                       |     +--ro hostname*   string
                       +--ro is-reachability
                       |  +--ro neighbors
                       |     +--ro neighbor* [system-id]
                       |        +--ro system-id    -> ../state/system-id
                       |        +--ro state
                       |           +--ro system-id        otg-types:hex-string
                       |           +--ro adjacency-sid* [sid]
                       |              +--ro sid      -> ../state/sid
                       |              +--ro state
                       |                 +--ro sid?      uint32
                       |                 +--ro flags*    enumeration
                       |                 +--ro weight?   uint8
                       +--ro ipv4-internal-reachability
                       |  +--ro prefixes
                       |     +--ro prefix* [prefix]
                       |        +--ro prefix    -> ../state/prefix
                       |        +--ro state
                       |           +--ro prefix?                otg-types:ipv4-address
                       |           +--ro prefix-length?         uint32
                       |           +--ro redistribution-type?   enumeration
                       |           +--ro origin-type?           enumeration
                       |           +--ro default-metric?        uint8
                       +--ro ipv4-external-reachability
                       |  +--ro prefixes
                       |     +--ro prefix* [prefix]
                       |        +--ro prefix    -> ../state/prefix
                       |        +--ro state
                       |           +--ro prefix?                otg-types:ipv4-address
                       |           +--ro prefix-length?         uint32
                       |           +--ro redistribution-type?   enumeration
                       |           +--ro origin-type?           enumeration
                       |           +--ro default-metric?        uint8
                       +--ro extended-is-reachability
                       |  +--ro neighbors
                       |     +--ro neighbor* [system-id]
                       |        +--ro system-id    -> ../state/system-id
                       |        +--ro state
                       |           +--ro system-id?   otg-types:hex-string
                       +--ro extended-ipv4-reachability
                       |  +--ro prefixes
                       |     +--ro prefix* [prefix]
                       |        +--ro prefix    -> ../state/prefix
                       |        +--ro state
                       |           +--ro prefix?                otg-types:ipv4-address
                       |           +--ro prefix-length?         uint32
                       |           +--ro metric?                uint32
                       |           +--ro redistribution-type?   enumeration
                       |           +--ro prefix-sid* [sid]
                       |           |  +--ro sid      -> ../state/sid
                       |           |  +--ro state
                       |           |     +--ro sid?         uint32
                       |           |     +--ro flags*       enumeration
                       |           |     +--ro algorithm?   uint8
                       |           +--ro prefix-attributes
                       |              +--ro flags*   enumeration
                       +--ro ipv6-reachability
                       |  +--ro prefixes
                       |     +--ro prefix* [prefix]
                       |        +--ro prefix    -> ../state/prefix
                       |        +--ro state
                       |           +--ro prefix?                otg-types:ipv6-address
                       |           +--ro prefix-length?         uint32
                       |           +--ro redistribution-type?   enumeration
                       |           +--ro origin-type?           enumeration
                       |           +--ro metric?                uint32
                       |           +--ro prefix-sid* [sid]
                       |           |  +--ro sid      -> ../state/sid
                       |           |  +--ro state
                       |           |     +--ro sid?         uint32
                       |           |     +--ro flags*       enumeration
                       |           |     +--ro algorithm?   uint8
                       |           +--ro prefix-attributes
                       |              +--ro flags*   enumeration
                       +--ro router-capabilities
                          +--ro capability* []
                             +--ro state
                                +--ro router-id?                    otg-types:ipv4-address
                                +--ro flags*                        enumeration
                                +--ro algorithms*                   uint32
                                +--ro segment-routing-capability
                                |  +--ro state
                                |     +--ro flags*             enumeration
                                |     +--ro srgb-descriptor* [range]
                                |        +--ro range    -> ../state/range
                                |        +--ro state
                                |           +--ro range?            uint32
                                |           +--ro starting-level?   uint32
                                +--ro sr-local-block-ranges
                                   +--ro state
                                      +--ro srlbs-descriptor* [range]
                                         +--ro range    -> ../state/range
                                         +--ro state
                                            +--ro range?            uint32
                                            +--ro starting-level?   uint32

description
"Only include the router capability TLV when the TLV is
type 242.";
list capability {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a list without keys, can we have router id as key of this list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants