diff options
| author | Karen Schoener <karen@volta.io> | 2020-05-28 16:36:35 -0400 |
|---|---|---|
| committer | Karen Schoener <karen@volta.io> | 2020-06-01 13:21:37 -0400 |
| commit | fd563cc7f35e598decdbfd6a58bae2f050143b3f (patch) | |
| tree | 682f7ce1aaa6b133803c0c61e31e2c6f55d387f9 /zebra/zebra_pw.h | |
| parent | 6b2210021cab645efa58a23d5a4d171fe37f305e (diff) | |
ldpd: Relay data plane pseudowire status in LDP notification
Provide a way for the data plane to indicate pseudowire
status (such as: not forwarding, AC failure).
On a data plane pseudowire install failure, data plane
sets the pseudowire status.
Zebra relays the pseudowire status to LDP.
LDP includes the pseudowire status in the LDP notification
to the LDP peer.
Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'zebra/zebra_pw.h')
| -rw-r--r-- | zebra/zebra_pw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_pw.h b/zebra/zebra_pw.h index bbb3776725..7b13c7e16b 100644 --- a/zebra/zebra_pw.h +++ b/zebra/zebra_pw.h @@ -73,7 +73,7 @@ void zebra_pw_change(struct zebra_pw *, ifindex_t, int, int, union g_addr *, uint32_t, uint32_t, uint8_t, union pw_protocol_fields *); struct zebra_pw *zebra_pw_find(struct zebra_vrf *, const char *); void zebra_pw_update(struct zebra_pw *); -void zebra_pw_install_failure(struct zebra_pw *); +void zebra_pw_install_failure(struct zebra_pw *pw, int pwstatus); void zebra_pw_init(struct zebra_vrf *); void zebra_pw_exit(struct zebra_vrf *); void zebra_pw_vty_init(void); |
