Skip to content

Commit

Permalink
Added conf option to scope wg hub to right netns (#289)
Browse files Browse the repository at this point in the history
This change is to add the 'create_hub_in_root_netns' boolean option
designed to scope the wireguard hub creation to the root network
namespace instead of the project network namespace if set to True. 

To set, add the following option to the site's defaults:
```
neutron_wireguard_create_hub_in_root_netns: True/False
```
  • Loading branch information
JOUNAIDSoufiane authored Jun 26, 2024
1 parent e56d942 commit 5d56744
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kolla/node_custom_config/neutron/ml2_conf.ini
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ key_file = /etc/neutron/ssh/id_{{ switch.name }}
{% if enable_neutron_wireguard | bool %}
[wireguard]
endpoint = {{ neutron_wireguard_hub_endpoint }}
create_hub_in_root_netns = {{ neutron_wireguard_create_hub_in_root_netns }}
{% endif %}

0 comments on commit 5d56744

Please sign in to comment.