diff options
| author | Ameya Dharkar <adharkar@vmware.com> | 2019-05-16 18:38:03 -0700 |
|---|---|---|
| committer | Ameya Dharkar <adharkar@vmware.com> | 2019-05-17 10:50:21 -0700 |
| commit | 9d21b7c6f04146b518d0275d1c7f4388d9b33444 (patch) | |
| tree | 33cad7f29db19cc034d5a1a9a2cae80ea8ce4c6d /tests/lib/cli/common_cli.c | |
| parent | 4d6124b45f670b8eec94143527c7afb3d4440825 (diff) | |
Zebra: Handle VxLAN encap in netlink rtmsg for FPM
- For data plane processing of VxLAN routes, add encap type and L3VNI info to
rtmsg message for FPM.
- Add "RTA_ENCAP_TYPE" attribute for VxLAN encap with value 100.
This value is not currently used for RTA_ENCAP_TYPE for any encap.
- If "RTA_ENCAP_TYPE" is 100, add "RTA_ENCAP" attribute with "RTA_VNI" as a
nested attribute of RTA_ENCAP
Format of RTA_VNI attribute:
Len(2 bytes) type (2 bytes) Value(4 bytes)(VNI)
00 08 : 00 00 : 1000
RTA_VNI attribute is a custom attribute.
Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'tests/lib/cli/common_cli.c')
0 files changed, 0 insertions, 0 deletions
