aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/pppoe/pppoe.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-10-02 16:53:58 +0200
committerDamjan Marion <dmarion@me.com>2019-10-03 12:38:46 +0000
commit25fe57821b1d6549ac58961e942d4f74494d5555 (patch)
treee990a04b2af75bfb5f0e0d89c0ca50537e981fd2 /src/plugins/pppoe/pppoe.api
parent7ff64fb97541c769ba423e53166d80b9eef25279 (diff)
pppoe: remove api boilerplate
Type: refactor Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I42705c508e88dae40a4c19ab20a1340623a57e16
Diffstat (limited to 'src/plugins/pppoe/pppoe.api')
-rw-r--r--src/plugins/pppoe/pppoe.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/pppoe/pppoe.api b/src/plugins/pppoe/pppoe.api
index b687d51500a..5f0423384eb 100644
--- a/src/plugins/pppoe/pppoe.api
+++ b/src/plugins/pppoe/pppoe.api
@@ -35,6 +35,7 @@ define pppoe_add_del_session
u8 client_ip[16];
u32 decap_vrf_id;
u8 client_mac[6];
+ option vat_help = "client-addr <client-addr> session-id <nn> [encap-if-index <nn>] [decap-next [ip4|ip6|node <name>]] local-mac <local-mac> client-mac <client-mac> [del]";
};
/** \brief reply for set or delete an PPPOE session
@@ -59,6 +60,7 @@ define pppoe_session_dump
u32 client_index;
u32 context;
u32 sw_if_index;
+ option vat_help = "[<intfc> | sw_if_index <nn>]";
};
/** \brief dump details of an PPPOE session