diff options
| author | Isabella de Leon <ideleon@microsoft.com> | 2023-01-06 10:06:23 -0800 | 
|---|---|---|
| committer | Isabella de Leon <ideleon@microsoft.com> | 2023-02-28 11:39:12 -0800 | 
| commit | d74f913c5f487a722b19bd01442b8fe13c4714e8 (patch) | |
| tree | cb9cf781ba9111e2bdbcba8aee687cc994a071b6 /yang/frr-isisd.yang | |
| parent | 617d2b71c0d1b61dfb319f5f629953a95e6beef5 (diff) | |
isisd: Add advertise-high-metrics CLI/YANG support, modify show output
New config and show functionality:
r1# conf
r1(config)# router isis 1
r1(config-router)#
  advertise-high-metrics  Advertise high metric value on all interfaces
  area-password           Configure the authentication password for an area
  ...
r1(config-router)# advertise-high-metrics
r1(config-router)# end
r1# show isis summary
...
Area 1:
  Net: 49.0001.1720.1700.0002.00
  TX counters per PDU type:
     L2 IIH: 1
    P2P IIH: 36
   LSP RXMT: 0
  RX counters per PDU type:
  Advertise high metrics: Enabled
  Level-2:
   ...
r1# conf
r1(config)# router isis 1
r1(config-router)# no advertise-high-metrics
r1(config-router)# end
r1# show isis summary
...
Area 1:
  Net: 49.0001.1720.1700.0002.00
  TX counters per PDU type:
     L2 IIH: 1
    P2P IIH: 45
   LSP RXMT: 0
  RX counters per PDU type:
  Advertise high metrics: Disabled
  Level-2:
   ...
r1#
Signed-off-by: Isabella de Leon <ideleon@microsoft.com>
Diffstat (limited to 'yang/frr-isisd.yang')
| -rw-r--r-- | yang/frr-isisd.yang | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang index ff3ba5d12b..0c2cf232fb 100644 --- a/yang/frr-isisd.yang +++ b/yang/frr-isisd.yang @@ -1169,6 +1169,13 @@ module frr-isisd {            "Define the style of TLVs metric supported.";        } +      leaf advertise-high-metrics { +        type boolean; +        default "false"; +        description +          "Advertise high metric value on all interfaces."; +      } +        leaf purge-originator {          type boolean;          default "false";  | 
