diff options
| author | Mark Stapp <mjs@voltanet.io> | 2018-12-10 14:34:24 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-01-25 10:45:57 -0500 |
| commit | 97d8d05a811eac7b3f39c64f7806f5b9c5bc2004 (patch) | |
| tree | abf584cc2e151165591c3bc14d52a4cecc2eb43d /zebra/zebra_mpls_null.c | |
| parent | d613b8e1edd522cdc0dc6b71448c948497cf25a3 (diff) | |
zebra: convert PW updates to async dataplane
Add accessors for pw attributes; init pw attributes;
replace 'hook' calls for pw install/uninstall with dplane
apis.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_mpls_null.c')
| -rw-r--r-- | zebra/zebra_mpls_null.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_null.c b/zebra/zebra_mpls_null.c index 409432c4fb..2cc3f3b69d 100644 --- a/zebra/zebra_mpls_null.c +++ b/zebra/zebra_mpls_null.c @@ -29,6 +29,15 @@ int mpls_kernel_init(void) return -1; }; +/* + * Pseudowire update api - note that the default has been + * to report 'success' for pw updates on unsupported platforms. + */ +enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx) +{ + return ZEBRA_DPLANE_REQUEST_SUCCESS; +} + enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx) { return ZEBRA_DPLANE_REQUEST_FAILURE; |
