summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/interface.json13
-rw-r--r--etc/os-net-config/samples/interface.yaml8
2 files changed, 21 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/interface.json b/etc/os-net-config/samples/interface.json
new file mode 100644
index 0000000..9fd5cf3
--- /dev/null
+++ b/etc/os-net-config/samples/interface.json
@@ -0,0 +1,13 @@
+{"network_config": [
+ {
+ "type": "interface",
+ "name": "em1",
+ "use_dhcp": false,
+ "addresses": [
+ {
+ "ip_netmask": "192.0.2.1/24"
+ }
+ ]
+ }
+ ]
+}
diff --git a/etc/os-net-config/samples/interface.yaml b/etc/os-net-config/samples/interface.yaml
new file mode 100644
index 0000000..2e24ccc
--- /dev/null
+++ b/etc/os-net-config/samples/interface.yaml
@@ -0,0 +1,8 @@
+network_config:
+ -
+ type: interface
+ name: em1
+ use_dhcp: false
+ addresses:
+ -
+ ip_netmask: 192.0.2.1/24