Skip to content

Commit

Permalink
network: Add the network_allow_service_restart parameter
Browse files Browse the repository at this point in the history
Related to osism/issues#974

Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt committed Apr 17, 2024
1 parent efb45f5 commit ea45ae0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/guides/configuration-guide/commons/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ network_tunnels | `{}` | https://netplan.readthedocs.io/en/stable/netpl
network_vlans | `{}` | https://netplan.readthedocs.io/en/stable/netplan-yaml/#properties-for-device-type-vlans
network_vrfs | `{}` | https://netplan.readthedocs.io/en/stable/netplan-yaml/#properties-for-device-type-vrfs

Changes to the configuration are currently not applied utomatically. This is done on
purpose to enable a manual check in advance. Changes to the network configuration can
By default changes to the network configuration are not applied automatically. This is done on
purpose to allow a manual check in advance. Changes to the network configuration can
be applied either by rebooting or by executing `netplan apply`.

```
Expand All @@ -75,6 +75,13 @@ Working with nodes: testbed-manager.testbed.osism.xyz,testbed-node-[0-2].testbed
clush> sudo netplan apply
```
It is possible to execute the `netplan apply` automatically via a handler when changes are made.
The parameter `network_allow_service_restart` is used for this.
```yaml title="environments/configuration.yml"
network_allow_service_restart: true
```

### Example

The Netplan documentation contains a large number of example configurations. The following
Expand Down

0 comments on commit ea45ae0

Please sign in to comment.