diff options
| author | Christian Hopps <chopps@labn.net> | 2024-01-29 07:46:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-29 07:46:23 -0500 |
| commit | f8755d7f866d4ae74d01b2ef9baa6829bdb99f63 (patch) | |
| tree | 00387bf24a04a2779b668b95f5da1f294cf1e360 /python/xref2vtysh.py | |
| parent | d4f83c2cbeeab658b11d9b745c4a2fbd2821de80 (diff) | |
| parent | 15514b6d288d3c46913cd1b79c8b42850bf1c35d (diff) | |
Merge pull request #15181 from idryzhov/zebra-mgmtd
zebra interfaces NB conversion
Diffstat (limited to 'python/xref2vtysh.py')
| -rw-r--r-- | python/xref2vtysh.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/python/xref2vtysh.py b/python/xref2vtysh.py index 1760588ca8..91ccba64f0 100644 --- a/python/xref2vtysh.py +++ b/python/xref2vtysh.py @@ -324,17 +324,7 @@ class CommandEntry: def load(cls, xref): nodes = NodeDict() - mgmtname = "mgmtd/libmgmt_be_nb.la" for cmd_name, origins in xref.get("cli", {}).items(): - # If mgmtd has a yang version of a CLI command, make it the only daemon - # to handle it. For now, daemons can still be compiling their cmds into the - # binaries to allow for running standalone with CLI config files. When they - # do this they will also be present in the xref file, but we want to ignore - # those in vtysh. - if "yang" in origins.get(mgmtname, {}).get("attrs", []): - CommandEntry.process(nodes, cmd_name, mgmtname, origins[mgmtname]) - continue - for origin, spec in origins.items(): CommandEntry.process(nodes, cmd_name, origin, spec) return nodes |
