Add CLI for lcp-auto-subint
In preparation of another feature 'netlink-auto-subint', rename lcp_main's field to "lcp_auto_subint". Add CLI .short_help = "lcp lcp-auto-subint [on|enable|off|disable]" Show status of the field on "lcp show" output.
This commit is contained in:
@ -167,8 +167,8 @@ lcp_itf_pair_find_by_host (u32 host_sw_if_index)
|
||||
/**
|
||||
* sub-interface auto creation/deletion for LCP
|
||||
*/
|
||||
void lcp_set_auto_subint (u8 is_auto);
|
||||
int lcp_auto_subint (void);
|
||||
void lcp_set_lcp_auto_subint (u8 is_auto);
|
||||
int lcp_lcp_auto_subint (void);
|
||||
|
||||
typedef void (*lcp_itf_pair_add_cb_t) (lcp_itf_pair_t *);
|
||||
typedef void (*lcp_itf_pair_del_cb_t) (lcp_itf_pair_t *);
|
||||
|
Reference in New Issue
Block a user