diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-07-25 14:41:18 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-07-25 14:41:18 +0000 |
commit | f17add2e8e3c40f79cf211b0cb82a359104ad675 (patch) | |
tree | ec8eab3c2078d418fd917f095e3952fd03ee85a6 /etc | |
parent | a08e230b00c32a475d0f2f9826dabaa822153ad6 (diff) | |
parent | 78e1b65d93a1c16d58fd72cb65f8e2adf1762854 (diff) |
Merge "Add support for Infiniband interfaces"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/os-net-config/samples/ib_interface.json | 26 | ||||
-rw-r--r-- | etc/os-net-config/samples/ib_interface.yaml | 18 |
2 files changed, 44 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ib_interface.json b/etc/os-net-config/samples/ib_interface.json new file mode 100644 index 0000000..4e42867 --- /dev/null +++ b/etc/os-net-config/samples/ib_interface.json @@ -0,0 +1,26 @@ +{"network_config": [ + { + "type": "ib_interface", + "name": "ib0", + "use_dhcp": false, + "addresses": [ + { + "ip_netmask": "192.0.2.1/24" + } + ], + "routes": [ + { + "ip_netmask": "0.0.0.0/0", + "next_hop": "192.0.2.254", + "default": "true" + } + ] + }, + { + "type": "ib_interface", + "name": "ib1", + "use_dhcp": true, + "defroute": no + } + ] +} diff --git a/etc/os-net-config/samples/ib_interface.yaml b/etc/os-net-config/samples/ib_interface.yaml new file mode 100644 index 0000000..f930471 --- /dev/null +++ b/etc/os-net-config/samples/ib_interface.yaml @@ -0,0 +1,18 @@ +network_config: + - + type: ib_interface + name: ib0 + use_dhcp: false + addresses: + - + ip_netmask: 192.0.2.1/24 + routes: + - + ip_netmask: 0.0.0.0/0 + next_hop: 192.0.2.254 + default: true + - + type: interface + name: ib1 + use_dhcp: true + defroute: no
\ No newline at end of file |