sr: support define src ipv6 per encap policy 63/37863/6
authorTakeru Hayasaka <hayatake396@gmail.com>
Fri, 30 Dec 2022 07:41:44 +0000 (16:41 +0900)
committerDamjan Marion <dmarion@0xa5.net>
Fri, 10 Feb 2023 16:17:27 +0000 (16:17 +0000)
commitc4c205b091934d96a173f4c0d75ef7e888298ac7
tree31d86fe8f778a0caea8b636f0717972c3caef81a
parent7550dd268f80334cbb9127feefe35319b9c7e572
sr: support define src ipv6 per encap policy

Can to define src ip of outer IPv6 Hdr for each encap policy.
Along with that, I decided to develop it as API version V2.
This is useful in the SRv6 MUP case.
For example, it will be possible to handle multiple UPF destinations.

Type: feature
Change-Id: I44ff7b54e8868619069621ab53e194e2c7a17435
Signed-off-by: Takeru Hayasaka <hayatake396@gmail.com>
src/vnet/srv6/sr.api
src/vnet/srv6/sr.h
src/vnet/srv6/sr_api.c
src/vnet/srv6/sr_policy_rewrite.c
src/vnet/srv6/sr_test.c
test/test_srv6.py
test/vpp_srv6.py