aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-03 21:24:55 +0000
committerGerrit Code Review <review@openstack.org>2017-01-03 21:24:55 +0000
commitd929214c7a904da57a406dd56ac06f001fdc7d7b (patch)
treeccaf54bc78ee4c3df18acd320a5121bb2104a616 /etc
parentd621022954195049c96b19064f2eddd46ec95fe4 (diff)
parent433a0f3cbe59fd5da183245bf7e6dcd4af4b8c88 (diff)
Merge "Add support for enabling hotplug on interfaces"
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/ib_interface.json2
-rw-r--r--etc/os-net-config/samples/ib_interface.yaml2
-rw-r--r--etc/os-net-config/samples/interface.json8
-rw-r--r--etc/os-net-config/samples/interface.yaml7
4 files changed, 15 insertions, 4 deletions
diff --git a/etc/os-net-config/samples/ib_interface.json b/etc/os-net-config/samples/ib_interface.json
index 4e42867..f552af3 100644
--- a/etc/os-net-config/samples/ib_interface.json
+++ b/etc/os-net-config/samples/ib_interface.json
@@ -20,7 +20,7 @@
"type": "ib_interface",
"name": "ib1",
"use_dhcp": true,
- "defroute": no
+ "defroute": false
}
]
}
diff --git a/etc/os-net-config/samples/ib_interface.yaml b/etc/os-net-config/samples/ib_interface.yaml
index f930471..6210f0a 100644
--- a/etc/os-net-config/samples/ib_interface.yaml
+++ b/etc/os-net-config/samples/ib_interface.yaml
@@ -15,4 +15,4 @@ network_config:
type: interface
name: ib1
use_dhcp: true
- defroute: no \ No newline at end of file
+ defroute: false
diff --git a/etc/os-net-config/samples/interface.json b/etc/os-net-config/samples/interface.json
index 6eb8f62..7b70e05 100644
--- a/etc/os-net-config/samples/interface.json
+++ b/etc/os-net-config/samples/interface.json
@@ -25,8 +25,14 @@
"type": "interface",
"name": "em2",
"use_dhcp": true,
- "defroute": no,
+ "defroute": false,
"ethtool_opts": "speed 1000 duplex full"
+ },
+ {
+ "type": "interface",
+ "name": "em3",
+ "use_dhcp": true,
+ "hotplug": true
}
]
}
diff --git a/etc/os-net-config/samples/interface.yaml b/etc/os-net-config/samples/interface.yaml
index 725091b..4c4269e 100644
--- a/etc/os-net-config/samples/interface.yaml
+++ b/etc/os-net-config/samples/interface.yaml
@@ -19,5 +19,10 @@ network_config:
type: interface
name: em2
use_dhcp: true
- defroute: no
+ defroute: false
ethtool_opts: "speed 1000 duplex full"
+ -
+ type: interface
+ name: em3
+ use_dhcp: true
+ hotplug: true