diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-07-28 19:35:08 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-09-16 14:14:38 +0000 |
commit | 1a9e2f96d48e346311bbc584510a14e3f721b41c (patch) | |
tree | aefbc08b91c0c87d54792d4b32b785a5fe784b31 /src/vnet/session/session_rules_table.c | |
parent | 4fd9f10c4535724fd52b05d703fb56a33edc1138 (diff) |
session: Add sock_name option to add_ns
This adds a new API call to add session namespaces
It now takes a netns and a sock_name.
(1) If no netns is passed, sock_name will be used as
socket path. Defaulting to /run/vpp/app_ns_sockets/${ns_id}
(2) If a netns is passed, the sock_name has to be
abstract (i.e. start with '@'). It will default to
`@vpp/session/${ns_id}` and will be created in the provided
netns.
Type: feature
Change-Id: I90e9a8e5ecca2cabe7c05335663e33c8506dc9e7
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/session/session_rules_table.c')
0 files changed, 0 insertions, 0 deletions