Igor Ryzhov
010bd3e570
zebra: convert route-map delay-timer command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
cc619176fe
zebra: convert ip nht commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
f776dda1ec
zebra: convert ip protocol commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
244e6ebd16
zebra: convert router-id commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
218b5017ee
zebra: convert interface configuration output to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
185fd140cf
zebra: fix build with --disable-rtadv
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
8763946ab2
zebra: convert PTM configuration to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
27c21ffd94
zebra: convert interface ipv6 nd dnssl command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
61c7ba7557
zebra: convert interface ipv6 nd rdnss command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
36131494c2
zebra: convert interface ipv6 nd prefix command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
788319433f
zebra: convert interface ipv6 nd router-preference command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
a003ecda71
zebra: convert interface ipv6 nd home-agent-lifetime command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
8a1fdff198
zebra: convert interface ipv6 nd home-agent-preference command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:40 +02:00
Igor Ryzhov
f36cdd4a00
zebra: convert interface ipv6 nd adv-interval-option command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
509eb9c297
zebra: convert interface ipv6 nd home-agent-config-flag command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
26f80e9669
zebra: convert interface ipv6 nd ra-fast-retrans command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
a4fee0cb52
zebra: convert interface ipv6 nd ra-hop-limit command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
224429da6f
zebra: convert interface ipv6 nd ra-retrans-interval command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
966fcb6c0f
zebra: convert interface ipv6 nd mtu command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
b829d5fca2
zebra: convert interface ipv6 nd other-config-flag command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
55b1b923ca
zebra: convert interface ipv6 nd managed-config-flag command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
0e2798d2b0
zebra: convert interface ipv6 nd reachable-time command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
5d029a0e87
zebra: convert interface ipv6 nd ra interval/lifetime commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
d617c9175a
zebra: convert interface ipv6 nd suppress-ra command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
10757acae6
zebra: convert interface evpn mh uplink command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
4a18818b02
zebra: convert interface evpn mh bypass command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
7c6e41ecff
zebra: convert interface evpn mh es-df-pref command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
a6db1c14a4
zebra: convert interface evpn mh es-id commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
be712fc697
zebra: convert interface link-params packet-loss command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
0a5b944aef
zebra: convert interface link-params delay commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
217b65e5bf
zebra: convert interface link-params neighbor command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
93744dbe88
zebra: convert interface link-params bandwidth commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
59e3ce08fa
zebra: convert interface link-params metric command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
b688eb7e9e
zebra: convert interface link-params command to NB
...
Make link-params a presence container and activate it when entering the
node. The "enable" command is not necessary anymore but kept hidden for
backwards compatibility.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
fa500fd8ec
zebra: convert interface ip/ipv6 address commands to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
0c2c01c151
zebra: convert interface bandwidth command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
edd3c63170
zebra: convert interface shutdown command to NB
...
Replace "shutdown" leaf with "enabled" leaf in frr-zebra YANG module
to make it in line with standard YANG models.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
df296d54ae
zebra: convert interface link-detect command to NB
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Christian Hopps
d266b1cc9c
zebra: support yielding between oper state routes query
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-12-28 17:53:40 +00:00
Dmytro Shytyi
b417f5cd39
zebra: add northbound api hooks for nexthop segments
...
Provide skeleton hooks for nexthop segments
Those hooks address seg6 segs stack entries defined in the YANG
model
Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
2023-09-20 15:07:15 +02:00
Philippe Guibert
7832bbcc30
zebra, yang: add an mpls leaf to interface
...
The yang NB API does not handle the mpls configuration
on its leaf.
Add an mpls leaf to stick to the mpls configuration.
- true or false to mean if config
- not defined, means no config.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2023-08-10 18:13:21 +02:00
Donald Sharp
8383d53e43
Merge pull request #12780 from opensourcerouting/spdx-license-id
...
*: convert to SPDX License identifiers
2023-02-17 09:43:05 -05:00
Louis Scalbert
158332617d
lib,yang,zebra: add extended admin-group support
...
Add the support of Extended Admin-Group (RFC7308) to the zebra interface
link-params Traffic-Engineering context.
Extended admin-groups can be configured with the affinity-map:
> affinity-map blue bit-position 221
> int eth-rt1
> link-params
> affinity blue
> exit-link-params
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-02-10 11:31:05 +01:00
David Lamparter
acddc0ed3c
*: auto-convert to SPDX License IDs
...
Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-02-09 14:09:11 +01:00
Sarita Patra
e71627cbcb
zebra: North-bound implementation for zebra rmaps
...
This commit introduces the implementation for the north-bound
callbacks for the zebra-specific route-map match and set clauses.
Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com>
Signed-off-by: Sarita Patra <saritap@vmware.com>
2021-03-30 22:58:42 +03:00
Igor Ryzhov
6c38095749
zebra: make ribs config false
...
Zebra routing tables are not controlled by the user and can not be
created/deleted manually. Current NB create/destroy callbacks are
incorrectly implemented because instead of creating/deleting the RIB
they are only checking for it's existence. YANG model should reflect
the real situation.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-03-16 17:25:49 +03:00
Sebastien Merle
065276ae1f
staticd: add support for SR Policies
...
Configuration example:
ip route 9.9.9.9/32 6.6.6.6 color 123
The SR Policy to be chosen is uniquely identified by the policy
endpoint (6.6.6.6) and the SR-TE color (123). Traffic will be
augmented with an MPLS label stack according to the active
candidate path of that particular policy.
Co-authored-by: GalaxyGorilla <sascha@netdef.org>
Signed-off-by: Sebastien Merle <sebastien@netdef.org>
2020-08-12 13:28:48 +02:00
Chirag Shah
e2bcfa3946
zebra: evpn l3vni map to vrf nb changes
...
The set of northbound changes for l3vni configuration
command under vrf.
vrf x
vni 1000 prefix-routes-only
{
"frr-vrf:lib": {
"vrf": [
{
"name": "vrf1",
"frr-zebra:zebra": {
"l3vni-id": 4001
}
},
{
"name": "vrf2",
"frr-zebra:zebra": {
"l3vni-id": 4002,
"prefix-only": true
}
}
]
}
}
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2020-07-20 18:33:38 -07:00
vdhingra
755100ac89
zebra: Moving afi-safi identity to lib
...
afi-safi identity handling should be in the common place.
Signed-off-by: VishalDhingra <vdhingra@vmware.com>
2020-07-16 08:40:42 -07:00
Chirag Shah
2b2282eb76
zebra: rib nb changes with redefined nexthop model
...
RIB operational northbound changes based on redfined
nexthop model.
Testing Done:
{
"afi-safi-name": "ipv4-unicast",
"table-id": 254,
"route": [
{
"prefix": "0.0.0.0/0",
"route-entry": [
{
"protocol": "kernel",
"distance": 0,
"metric": 100,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "2020-06-06T00:28:26.139797Z",
"nexthop-group": {
"id": 15,
"nexthop": [
{
"nh-type": "ip4-ifindex",
"vrf": "0",
"gateway": "10.0.2.2",
"interface": "enp0s3",
"active": [null],
"fib": [null]
}
]
}
}
]
},
{
"prefix": "1.1.1.4/32",
"route-entry": [
{
"protocol": "kernel",
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "2020-06-06T00:28:26.139790Z",
"nexthop-group": {
"id": 16,
"nexthop": [
{
"nh-type": "ifindex",
"vrf": "0",
"gateway": "",
"interface": "dummy4",
"active": [null],
"fib": [null]
}
]
}
}
]
}
]
}
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2020-06-10 16:25:18 -07:00