diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-30 13:30:36 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-08 20:31:36 -0500 |
| commit | c83c5e4482580351d20fb45dc643c368866e33d8 (patch) | |
| tree | 994650b9c5f16ba268ab936c1395cc724aefef99 /tools/git-reindent-branch.py | |
| parent | 44bdf1590d4eccb8764f2c6f5de48c59e3eff9c2 (diff) | |
lib, zebra: Add new api to specify a label associated with the vrf
For L3VPN's we need to create a label associated with the specified
vrf to be installed into the kernel to allow a pop and lookup
operation.
The new api is:
zclient_send_vrf_label(struct zclient *zclient, vrf_id_t vrf_id,
mpls_label_t label);
For the specified vrf_id associate the specified label for
a pop and lookup operation for forwarding.
To setup a POP and Forward use MPLS_LABEL_IMPLICIT_NULL
If the same label is passed in we ignore the call.
If the label is different we update entry.
If the label is MPLS_LABEL_NONE we remove
the entry.
This sets up the api. Future commits will have the functionality
to actually install into the kernel.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tools/git-reindent-branch.py')
0 files changed, 0 insertions, 0 deletions
