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.h | |
| 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.h')
| -rw-r--r-- | isisd/isis_nb.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/isisd/isis_nb.h b/isisd/isis_nb.h index 96de64a68b..00ca8be3b0 100644 --- a/isisd/isis_nb.h +++ b/isisd/isis_nb.h @@ -291,7 +291,7 @@ int lib_interface_isis_password_password_type_modify( struct nb_cb_modify_args *args); int lib_interface_isis_disable_three_way_handshake_modify( struct nb_cb_modify_args *args); -int lib_interface_isis_multi_topology_ipv4_unicast_modify( +int lib_interface_isis_multi_topology_standard_modify( struct nb_cb_modify_args *args); int lib_interface_isis_multi_topology_ipv4_multicast_modify( struct nb_cb_modify_args *args); @@ -543,9 +543,8 @@ void cli_show_ip_isis_csnp_interval(struct vty *vty, void cli_show_ip_isis_psnp_interval(struct vty *vty, const struct lyd_node *dnode, bool show_defaults); -void cli_show_ip_isis_mt_ipv4_unicast(struct vty *vty, - const struct lyd_node *dnode, - bool show_defaults); +void cli_show_ip_isis_mt_standard(struct vty *vty, const struct lyd_node *dnode, + bool show_defaults); void cli_show_ip_isis_mt_ipv4_multicast(struct vty *vty, const struct lyd_node *dnode, bool show_defaults); |
