diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2022-06-01 15:37:49 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2022-06-02 21:20:45 +0200 |
| commit | a15014f317409f20207644a6ae524fd86b295333 (patch) | |
| tree | cf0716e4a18a414401bc059e536205ac167196dd /isisd/isis_nb_config.c | |
| parent | 6d07d1af1137a5943f21c7c35163e4b43e34e28c (diff) | |
isisd: replace ipv4-unicast with standard in config and oper contexts
Only the multi-topology command can use 'ipv4-unicast' keyword to
configure standard topology.
The remaining code: dump from show commands, and yang definition,
uses 'standard' keyword instead.
The test have not been modified. The change would consists in
modifying test_fuzz_isis_tlv_tests.h.gz:
- replacing ipv4-unicast occurences with standard
\x69\x70\x76\x34\x2d\x75\x6e\x69\x63\x61\x73\x74
with
\x73\x74\x61\x6e\x64\x61\x72\x64
- align the buffer length by removing 4 bytes per occurence
Instead, a specific isis_mtid2str_fake() routing has been
put in place in isis_tlvs.c file.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'isisd/isis_nb_config.c')
| -rw-r--r-- | isisd/isis_nb_config.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/isisd/isis_nb_config.c b/isisd/isis_nb_config.c index cf4c2aea0a..79b167718b 100644 --- a/isisd/isis_nb_config.c +++ b/isisd/isis_nb_config.c @@ -3070,10 +3070,6 @@ int lib_interface_isis_disable_three_way_handshake_modify( return NB_OK; } -/* - * XPath: - * /frr-interface:lib/interface/frr-isisd:isis/multi-topology/ipv4-unicast - */ static int lib_interface_isis_multi_topology_common( enum nb_event event, const struct lyd_node *dnode, char *errmsg, size_t errmsg_len, uint16_t mtid) @@ -3104,12 +3100,16 @@ static int lib_interface_isis_multi_topology_common( return NB_OK; } -int lib_interface_isis_multi_topology_ipv4_unicast_modify( +/* + * XPath: + * /frr-interface:lib/interface/frr-isisd:isis/multi-topology/standard + */ +int lib_interface_isis_multi_topology_standard_modify( struct nb_cb_modify_args *args) { return lib_interface_isis_multi_topology_common( args->event, args->dnode, args->errmsg, args->errmsg_len, - ISIS_MT_IPV4_UNICAST); + ISIS_MT_STANDARD); } /* |
