ipi-segment-routing
+--rw segment-routing {feature-list:HAVE_SRV6_OR_HAVE_SR_MPLS}?
+--rw config!
| +--rw enable empty
+--ro state
| +--ro enable empty
+--rw interfaces {feature-list:HAVE_SR_MPLS}?
| +--rw interface* [name]
| +--rw name -> ../config/name
| +--rw config
| | +--rw name? -> /ipi-interface:interfaces/interface/name
| +--rw adjacency-segment {feature-list:HAVE_SR_MPLS}?
| | +--rw config
| | | +--rw adj-sid-absolute? uint32
| | | +--rw adj-sid-index? uint32
| | +--ro state
| | +--ro adj-sid-absolute? uint32
| | +--ro adj-sid-index? uint32
| +--rw prefix-segment {feature-list:HAVE_SR_MPLS}?
| +--rw config
| | +--rw sid-absolute? uint32
| | +--rw sid-index? uint32
| | +--rw exp-null? ipi-sr-types:if_sr_prefix_flag_t
| | +--rw n-flag-clear? ipi-sr-types:if_sr_n_flag_clear_t
| +--ro state
| +--ro sid-absolute? uint32
| +--ro sid-index? uint32
| +--ro exp-null? ipi-sr-types:if_sr_prefix_flag_t
| +--ro n-flag-clear? ipi-sr-types:if_sr_n_flag_clear_t
+--rw sr-mpls {feature-list:HAVE_SR_MPLS}?
| +--rw sr-prefer-over-ldp
| | +--rw config
| | | +--rw enable-preference? empty
| | +--ro state
| | +--ro enable-preference? empty
| +--rw bindings
| | +--rw mapping-server
| | +--rw config!
| | | +--rw enable empty
| | +--ro state
| | | +--ro enable empty
| | +--rw srms-preferenece
| | | +--rw config
| | | | +--rw preference? uint8
| | | +--ro state
| | | +--ro preference? uint8
| | +--rw prefix-sid-map-ipv4
| | +--rw mapping-entry* [start-address start-sid]
| | | +--rw start-address -> ../config/start-address
| | | +--rw start-sid -> ../config/start-sid
| | | +--rw config
| | | | +--rw start-address? cml-data-types:cml_ipv4_prefix_t
| | | | +--rw start-sid? uint32
| | | | +--rw range? uint32
| | | | +--rw attached? boolean
| | | +--ro state
| | | | +--ro start-address? cml-data-types:cml_ipv4_prefix_t
| | | | +--ro start-sid? uint32
| | | | +--ro range? uint32
| | | | +--ro attached? boolean
| | | +--ro ipv4-table
| | | +--ro state
| | | +--ro start-prefix? cml-data-types:cml_ip_prefix_addr_t
| | | +--ro start-sid-index? uint16
| | | +--ro range? uint16
| | | +--ro end-prefix? cml-data-types:cml_ip_prefix_addr_t
| | | +--ro end-sid-index? uint16
| | | +--ro attached? empty
| | | +--ro preference? uint8
| | +--rw config!
| | | +--rw enable empty
| | +--ro state
| | +--ro enable empty
| +--rw global-block {feature-list:HAVE_SR_MPLS}?
| | +--rw config!
| | | +--rw start uint32
| | | +--rw end uint32
| | +--ro state
| | +--ro start uint32
| | +--ro end uint32
| +--rw local-block {feature-list:HAVE_SR_MPLS}?
| +--rw config!
| | +--rw start uint32
| | +--rw end uint32
| +--ro state
| +--ro start uint32
| +--ro end uint32
+--rw traffic-engineering {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6}?
| +--rw config!
| | +--rw fast-reroute-enable? empty {feature-list:HAVE_SR_POLICY}?
| | +--rw enable empty
| +--ro state
| | +--ro fast-reroute-enable? empty {feature-list:HAVE_SR_POLICY}?
| | +--ro enable empty
| +--rw attributes
| | +--rw segment-lists {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6}?
| | +--rw segment-list* [list-name]
| | +--rw list-name -> ../config/list-name
| | +--rw config
| | | +--rw list-name? string
| | +--ro state
| | | +--ro list-name? string
| | +--rw segments
| | +--rw segment* [segment-index type]
| | | +--rw segment-index -> ../config/segment-index
| | | +--rw type -> ../config/type
| | | +--rw config
| | | | +--rw segment-index? uint32
| | | | +--rw type? ipi-sr-types:srte_segment_type_t
| | | +--ro state
| | | | +--ro segment-index? uint32
| | | | +--ro type? ipi-sr-types:srte_segment_type_t
| | | +--rw segment-type-1 {feature-list:HAVE_SR_MPLS}?
| | | +--rw config
| | | | +--rw sid-value? uint32
| | | +--ro state
| | | +--ro sid-value? uint32
| | +--rw segment-v6* [segment-index type]
| | +--rw segment-index -> ../config/segment-index
| | +--rw type -> ../config/type
| | +--rw config
| | | +--rw segment-index? uint32
| | | +--rw type? ipi-sr-types:srte_segment_type_2_t
| | +--ro state
| | | +--ro segment-index? uint32
| | | +--ro type? ipi-sr-types:srte_segment_type_2_t
| | +--rw segment-type-2 {feature-list:HAVE_SRV6}?
| | +--rw config
| | | +--rw prefix? inet:ipv6-address
| | +--ro state
| | +--ro prefix? inet:ipv6-address
| +--rw policies {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6}?
| | +--rw policy* [name]
| | +--rw name -> ../config/name
| | +--rw policy-key* [color end-point]
| | | +--rw color -> ../config/color
| | | +--rw end-point -> ../config/end-point
| | | +--rw config
| | | | +--rw color? uint32
| | | | +--rw end-point? inet:ip-address
| | | +--ro state
| | | +--ro color? uint32
| | | +--ro end-point? inet:ip-address
| | +--rw config
| | | +--rw name? string
| | | +--rw admin-state? empty
| | | +--rw explicit-null? ipi-sr-types:srte_explicite_null_type_t {feature-list:HAVE_SR_POLICY}?
| | | +--rw cspf-retry-limit? uint32 {feature-list:HAVE_SR_POLICY}?
| | | +--rw cspf-retry-interval? uint32 {feature-list:HAVE_SR_POLICY}?
| | | +--rw pce-lsp-delegate? empty {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | | +--rw pce-state-report? empty {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | | +--rw pce-entity-id? uint32 {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | | +--rw bsid-value? uint32 {feature-list:HAVE_SR_POLICY}?
| | +--rw candidate-paths
| | | +--rw candidate-path* [discriminator protocol-origin originator]
| | | +--rw discriminator -> ../config/discriminator
| | | +--rw protocol-origin -> ../config/protocol-origin
| | | +--rw originator -> ../config/originator
| | | +--rw config
| | | | +--rw discriminator? uint32
| | | | +--rw protocol-origin? ipi-sr-types:srte_protocol_origin_type_type_t
| | | | +--rw originator? string
| | | | +--rw preference? uint32
| | | +--ro state
| | | | +--ro discriminator? uint32
| | | | +--ro protocol-origin? ipi-sr-types:srte_protocol_origin_type_type_t
| | | | +--ro originator? string
| | | | +--ro preference? uint32
| | | | +--ro is-valid? boolean
| | | | +--ro non-selection-reason? cml-data-types:cml_line_t
| | | | +--ro is-best-candidate-path? boolean
| | | +--ro forwarding-paths
| | | | +--ro forwarding-path
| | | | +--ro state
| | | | | +--ro path-id? uint8
| | | | | +--ro next-hop-address? inet:ip-address
| | | | | +--ro outgoing-interface? string
| | | | | +--ro path-type? string
| | | | +--ro label-stack
| | | | +--ro labels
| | | | +--ro state
| | | | +--ro label? string
| | | +--rw dynamic {feature-list:HAVE_SR_POLICY_OR_HAVE_PCEP_SRV6}?
| | | | +--rw config
| | | | | +--rw pcep? empty {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | | | | +--rw isis? string
| | | | | +--rw ospf? int32
| | | | | +--rw ospf-empty? empty
| | | | +--ro state
| | | | | +--ro pcep? empty {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | | | | +--ro isis? string
| | | | | +--ro ospf? int32
| | | | | +--ro ospf-empty? empty
| | | | +--rw constraints
| | | | +--rw bounds* [metric-type]
| | | | | +--rw metric-type -> ../config/metric-type
| | | | | +--rw config
| | | | | | +--rw metric-type? ipi-sr-types:srte_cp_metric_type_t
| | | | | | +--rw bound? uint32
| | | | | | +--rw segment-bound? uint32
| | | | | +--ro state
| | | | | +--ro metric-type? ipi-sr-types:srte_cp_metric_type_t
| | | | | +--ro bound? uint32
| | | | | +--ro segment-bound? uint32
| | | | +--rw config!
| | | | | +--rw enable empty
| | | | +--ro state
| | | | | +--ro enable empty
| | | | +--rw admin-groups {feature-list:HAVE_SR_POLICY_OR_HAVE_PCEP_SRV6}?
| | | | | +--rw admin-group* [admin-group-name] {feature-list:HAVE_SR_POLICY_OR_HAVE_PCEP_SRV6}?
| | | | | +--rw admin-group-name -> ../config/admin-group-name
| | | | | +--rw config
| | | | | | +--rw affinity-type? ipi-sr-types:sr_te_admin_group_type_t
| | | | | | +--rw admin-group-name? string
| | | | | +--ro state
| | | | | +--ro affinity-type? ipi-sr-types:sr_te_admin_group_type_t
| | | | | +--ro admin-group-name? string
| | | | +--rw ip
| | | | +--rw include-hop* [address]
| | | | +--rw address -> ../config/address
| | | | +--rw config
| | | | | +--rw address? inet:ip-address
| | | | | +--rw type? ipi-sr-types:srte_ip_constraint_hop_type_t
| | | | +--rw state
| | | | +--rw address? inet:ip-address
| | | | +--rw type? ipi-sr-types:srte_ip_constraint_hop_type_t
| | | +--rw explicit
| | | +--rw segment-lists {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6}?
| | | +--rw segment-list* [list-name]
| | | +--rw list-name -> ../config/list-name
| | | +--rw config
| | | +--rw list-name? string
| | +--ro state
| | +--ro statistics {feature-list:HAVE_SR_POLICY}?
| | | +--ro tx-bytes? uint64
| | | +--ro rx-bytes? uint64
| | | +--ro tx-packets? uint64
| | | +--ro rx-packets? uint64
| | +--ro name? string
| | +--ro admin-state? empty
| | +--ro explicit-null? ipi-sr-types:srte_explicite_null_type_t {feature-list:HAVE_SR_POLICY}?
| | +--ro cspf-retry-limit? uint32 {feature-list:HAVE_SR_POLICY}?
| | +--ro cspf-retry-interval? uint32 {feature-list:HAVE_SR_POLICY}?
| | +--ro pce-lsp-delegate? empty {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | +--ro pce-state-report? empty {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | +--ro pce-entity-id? uint32 {feature-list:HAVE_PCEP_SR_OR_HAVE_PCEP_SRV6}?
| | +--ro bsid-value? uint32 {feature-list:HAVE_SR_POLICY}?
| | +--ro oper-state? ipi-sr-types:srte_policy_oper_state_t
| | +--ro transition-count? uint32
| | +--ro up-time? yang:date-and-time
| | +--ro down-time? yang:date-and-time
| | +--ro bsid-alloc-mode? string
| | +--ro bsid-oper-state? ipi-sr-types:sr_policy_bsid_oper_state
| +--rw on-demand-nexthops {feature-list:HAVE_SR_POLICY}?
| +--rw on-demand-nexthop* [color]
| +--rw color -> ../config/color
| +--rw config
| | +--rw color? uint32
| +--ro state
| | +--ro color? uint32
| +--rw odn-properties
| | +--rw config
| | | +--rw cspf-retry-limit? uint16
| | | +--rw cspf-retry-interval? uint16
| | | +--rw pce-lsp-delegate? empty {feature-list:HAVE_PCEP_SR}?
| | | +--rw pce-state-report? empty {feature-list:HAVE_PCEP_SR}?
| | | +--rw pce-entity-id? uint8 {feature-list:HAVE_PCEP_SR}?
| | | +--rw binding-sid-label? uint16
| | +--ro state
| | +--ro cspf-retry-limit? uint16
| | +--ro cspf-retry-interval? uint16
| | +--ro pce-lsp-delegate? empty {feature-list:HAVE_PCEP_SR}?
| | +--ro pce-state-report? empty {feature-list:HAVE_PCEP_SR}?
| | +--ro pce-entity-id? uint8 {feature-list:HAVE_PCEP_SR}?
| | +--ro binding-sid-label? uint16
| +--rw candidate-paths
| +--rw candidate-path* [discriminator protocol-origin originator]
| +--rw discriminator -> ../config/discriminator
| +--rw protocol-origin -> ../config/protocol-origin
| +--rw originator -> ../config/originator
| +--rw config
| | +--rw discriminator? uint32
| | +--rw protocol-origin? ipi-sr-types:srte_protocol_origin_type_type_t
| | +--rw originator? string
| | +--rw preference? uint16
| +--ro state
| | +--ro discriminator? uint32
| | +--ro protocol-origin? ipi-sr-types:srte_protocol_origin_type_type_t
| | +--ro originator? string
| | +--ro preference? uint16
| +--rw dynamic {feature-list:HAVE_SR_POLICY}?
| +--rw config
| | +--rw pcep? empty {feature-list:HAVE_PCEP_SR}?
| | +--rw isis-instance-id? string
| | +--rw ospf-process-id? int32
| | +--rw ospf-empty? empty
| +--ro state
| | +--ro pcep? empty {feature-list:HAVE_PCEP_SR}?
| | +--ro isis-instance-id? string
| | +--ro ospf-process-id? int32
| | +--ro ospf-empty? empty
| +--rw constraints
| +--rw config!
| | +--rw enable empty
| +--ro state
| | +--ro enable empty
| +--rw affinity-admin-groups
| | +--rw affinity-admin-group* [admin-group-name] {feature-list:HAVE_SR_POLICY}?
| | +--rw admin-group-name -> ../config/admin-group-name
| | +--rw config
| | | +--rw affinity-type? ipi-sr-types:sr_te_admin_group_type_t
| | | +--rw admin-group-name? string
| | +--ro state
| | +--ro affinity-type? ipi-sr-types:sr_te_admin_group_type_t
| | +--ro admin-group-name? string
| +--rw bounds
| | +--rw bound* [metric-type]
| | +--rw metric-type -> ../config/metric-type
| | +--rw config
| | | +--rw metric-type? ipi-sr-types:srte_cp_metric_type_t
| | | +--rw bound? uint32
| | +--ro state
| | +--ro metric-type? ipi-sr-types:srte_cp_metric_type_t
| | +--ro bound? uint32
| +--rw ip
| +--rw include-hops
| +--rw include-hop* [address]
| +--rw address -> ../config/address
| +--rw config
| | +--rw address? inet:ip-address
| | +--rw type? ipi-sr-types:srte_ip_constraint_hop_type_t
| +--ro state
| +--ro address? inet:ip-address
| +--ro type? ipi-sr-types:srte_ip_constraint_hop_type_t
+--rw srv6 {feature-list:HAVE_SRV6}?
| +--rw config!
| | +--rw enable empty
| +--ro state
| | +--ro enable empty
| +--rw locators {feature-list:HAVE_SRV6}?
| | +--rw config!
| | | +--rw enable empty
| | +--ro state
| | | +--ro enable empty
| | +--rw locator* [locator-name]
| | +--rw locator-name -> ../config/locator-name
| | +--rw config
| | | +--rw locator-name? string
| | | +--rw prefix? cml-data-types:cml_ipv6_prefix_t
| | +--ro state
| | +--ro locator-name? string
| | +--ro prefix? cml-data-types:cml_ipv6_prefix_t
| | +--ro uptime? string
| +--ro services-entries
| | +--ro services-entry* [fec-ipv4-prefix service-vrf-id]
| | +--ro fec-ipv4-prefix -> ../state/fec-ipv4-prefix
| | +--ro service-vrf-id -> ../state/service-vrf-id
| | +--ro state
| | +--ro fec-ipv4-prefix? cml-data-types:cml_ipv4_prefix_t
| | +--ro service-vrf-id? uint32
| | +--ro service-vrf-name? string
| | +--ro service-type? string
| | +--ro flags? string
| | +--ro address-family? uint32
| | +--ro sid? inet:ipv6-address
| | +--ro nexthop-ipv6-prefix? inet:ipv6-address
| | +--ro service-policy-name? string
| +--ro transport-entries
| | +--ro transport-entry* [fec]
| | +--ro fec -> ../state/fec
| | +--ro state
| | | +--ro fec? inet:ipv6-address
| | | +--ro policy-name? string
| | | +--ro policy-id? uint32
| | | +--ro transport-color? uint32
| | | +--ro code? string
| | | +--ro is-primary? boolean
| | | +--ro out-sid? inet:ipv6-address
| | | +--ro out-interface? string
| | | +--ro nexthop? inet:ipv6-address
| | +--ro ftn-entries
| | +--ro ftn-entry* [vrf-id fec-prefix]
| | +--ro vrf-id -> ../state/vrf-id
| | +--ro fec-prefix -> ../state/fec-prefix
| | +--ro state
| | +--ro vrf-id? uint32
| | +--ro fec-prefix? cml-data-types:cml_ipv4_addr_prefix_t
| | +--ro vrf-name? string
| | +--ro ftn-nexthop? inet:ipv6-address
| | +--ro tunnel-policy? string
| | +--ro ftn-color? uint32
| +--ro manager-entries {feature-list:HAVE_SRV6}?
| +--ro state
| +--ro protocol-state? ipi-sr-types:srv6_protocol_state_t
| +--ro srv6-locator-name? string
| +--ro platform-capabilities-end-function* string
| +--ro platform-capabilities-ingress-function* string
| +--ro platform-capabilities-ingress-sr-policy* string
+--rw debug {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6}?
+--rw config
| +--rw options? ipi-sr-types:sr_te_debug_t
+--ro state
+--ro options? ipi-sr-types:sr_te_debug_t
+--ro terminal-debug-status? ipi-sr-types:sr_te_debug_t
 
rpcs:
+---x sr-policy-terminal-debug-all-on {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6_OR_HAVE_SR_MPLS}?
+---x sr-policy-terminal-debug-on {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6_OR_HAVE_SR_MPLS}?
| +---w input
| +---w terminal-debug-options ipi-sr-types:sr_te_debug_t
+---x sr-policy-terminal-debug-off {feature-list:HAVE_SR_POLICY_OR_HAVE_SRV6_OR_HAVE_SR_MPLS}?
+---w input
+---w terminal-debug-options ipi-sr-types:sr_te_debug_t
 
notifications:
+---n sr-policy-oper-state-down
| +--ro severity? cml-data-types:cml_notif_severity_t
| +--ro eventClass? cml-data-types:cml_notif_class_t
| +--ro name? string
| +--ro oper-state? ipi-sr-types:srte_policy_oper_state_t
+---n sr-policy-oper-state-up
| +--ro severity? cml-data-types:cml_notif_severity_t
| +--ro eventClass? cml-data-types:cml_notif_class_t
| +--ro name? string
| +--ro oper-state? ipi-sr-types:srte_policy_oper_state_t
+---n sr-policy-cp-active
| +--ro severity? cml-data-types:cml_notif_severity_t
| +--ro eventClass? cml-data-types:cml_notif_class_t
| +--ro discriminator? uint32
| +--ro protocol-origin? ipi-sr-types:srte_protocol_origin_type_type_t
| +--ro originator? string
| +--ro name? string
| +--ro is-valid? boolean
+---n sr-policy-cp-inactive
| +--ro severity? cml-data-types:cml_notif_severity_t
| +--ro eventClass? cml-data-types:cml_notif_class_t
| +--ro discriminator? uint32
| +--ro protocol-origin? ipi-sr-types:srte_protocol_origin_type_type_t
| +--ro originator? string
| +--ro name? string
| +--ro is-valid? boolean
+---n sr-policy-binding-sid-unavailable-event {feature-list:HAVE_SR_POLICY}?
+--ro severity? cml-data-types:cml_notif_severity_t
+--ro eventClass? cml-data-types:cml_notif_class_t
+--ro name? string
+--ro bsid-value? uint32
Last modified date: 08/22/2023