diff options
author | Steven Hardy <shardy@redhat.com> | 2015-01-14 11:08:29 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2015-01-14 11:51:42 +0000 |
commit | cd7408e41e16fe06038b6529e7206483f67061a3 (patch) | |
tree | dd1abd8cdf196ba3996c01fa7d1c2f84a525c4aa /etc/os-net-config/samples/interface.json | |
parent | d673f00ba1af04daabc58762c059c1312ce8cfdc (diff) |
Add sample and cli test for simple interface config
Adds a simple example showing how an individual interface can be
configured, e.g outside of a bond etc.
Change-Id: I05dcb4fabe718686e306bdc719b32f0fb40c1b5e
Diffstat (limited to 'etc/os-net-config/samples/interface.json')
-rw-r--r-- | etc/os-net-config/samples/interface.json | 13 |
1 files changed, 13 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" + } + ] + } + ] +} |