diff options
author | Jon Loeliger <jdl@netgate.com> | 2018-01-16 16:37:16 -0600 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2018-01-29 13:09:57 +0100 |
commit | 30349b075cf939549980f2a32e030b32f6d07e9a (patch) | |
tree | ebf4a6e10c49cd9657cefeadafbaa44f07c5c021 /src/vlibapi/api_shared.c | |
parent | b4d43d7901b49bdda4345adb86b4d15a5d72f7ff (diff) |
memif: Add new API calls to manage memif socket names.
New API calls and corresponding CLI commands allow the user
to manage the socket filenames for memif connections using:
vppctl# create memif id <u32> filename <socket-filename>
vppctl# delete memif id <u32>
and then referencing it later in a memif interface:
vppctl# create memif <u32> socket-id <id> mode <mode> <master|slave> ...
Corresponding VAT cli entries have also been added.
The default memif socket file at id 0 are still always present.
The existing memif create/delete CLI commands have been slightly
altered into the new syntax:
vppctl# create interface memif ...
vppctl# delete interface memif ...
Change-Id: If2bdc7eac3d81e1d9011a5869747e52fc5e11639
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlibapi/api_shared.c')
0 files changed, 0 insertions, 0 deletions