summaryrefslogtreecommitdiff
path: root/zebra/zebra_cli.c
AgeCommit message (Collapse)Author
2025-02-12zebra: Do not flush an existing vni configuration trying to remove wrong vniDonatas Abraitis
Before: ``` pc.donatas.net(config)# do sh run | include vni vni 1 pc.donatas.net(config)# no vni 2 pc.donatas.net(config)# do sh run | include vni pc.donatas.net(config)# ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2025-01-29lib: Remove System routes from ip protocol route map choicesDonald Sharp
Do not allow system routes to be selected for ip protocol Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-12-07zebra: add deprecation notice for no-op netns commandIgor Ryzhov
Signed-off-by: Igor Ryzhov <idryzhov@gmail.com>
2024-06-07zebra: add 'mpls fec nexthop-resolution' command to vtyshDmytro Shytyi
Commands added: r3# configure r3(config)# mpls fec MPLS FEC table label Label configuration ldp Label Distribution Protocol lsp Establish label switched path r3(config)# mpls fec mpls fec nexthop-resolution Authorise nexthop resolution over all labeled routes. r3(config)# mpls fec mpls fec nexthop-resolution r3# configure r3(config)# vrf default r3(config-vrf)# mpls fec MPLS FEC table r3(config-vrf)# mpls fec mpls fec nexthop-resolution Authorise nexthop resolution over all labeled routes. r3(config-vrf)# mpls fec nexthop-resolution east-vm# show running-config Building configuration... ... ! mpls fec nexthop-resolution ! ... Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
2024-04-16lib, zebra: fix exit commandsIgor Ryzhov
If a command is not marked as `YANG`-converted, the current command batching buffer is flushed before executing the command. We shouldn't flush the buffer when executing an `exit` command. It should only be flushed if the next command is not `YANG`-converted, which is checked by the command itself, not the previous `exit`. Fixes #15706. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-02-04zebra: coverity fixesIgor Ryzhov
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-02-02Merge pull request #10151 from pguibert6WIND/ensure_routing_protocols_good_bwDonald Sharp
zebra: avoid having speed set to UINT32_MAX
2024-01-29doc, yang, zebra: allow bandwidth up to 1 terabit/secPhilippe Guibert
Allow bandwidth up to 1000000 Mb/s (ie. 1 Tb/s) and document it. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-01-29zebra: fix compiler warning about truncation.Christian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-01-28lib, mgmtd, zebra: cleanup of zebra conversion to mgmtdIgor Ryzhov
- use `apply_finish` callback when possible to avoid multiple applies per commit - move table range working to the CLI handler - remove unnecessary conditional compilation - remove unnecessary boolean conversion Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28zebra: convert to mgmtdIgor Ryzhov
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>