From ca4887d9cc5c61e9abc89c2a9db0166a3ba215b1 Mon Sep 17 00:00:00 2001 From: Ian Southam Date: Fri, 1 Aug 2014 16:55:08 +0200 Subject: [PATCH] Test data for ipassociation These files emulate commands coming from cloudstack itself --- .../debian/config/opt/cloud/testdata/ips0001.json | 12 ++++++++++++ .../debian/config/opt/cloud/testdata/ips0002.json | 12 ++++++++++++ .../debian/config/opt/cloud/testdata/ips0003.json | 12 ++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 systemvm/patches/debian/config/opt/cloud/testdata/ips0001.json create mode 100644 systemvm/patches/debian/config/opt/cloud/testdata/ips0002.json create mode 100644 systemvm/patches/debian/config/opt/cloud/testdata/ips0003.json diff --git a/systemvm/patches/debian/config/opt/cloud/testdata/ips0001.json b/systemvm/patches/debian/config/opt/cloud/testdata/ips0001.json new file mode 100644 index 00000000000..868ad33b9a1 --- /dev/null +++ b/systemvm/patches/debian/config/opt/cloud/testdata/ips0001.json @@ -0,0 +1,12 @@ +{"ip_address": +[{"public_ip":"10.0.2.102", +"source_nat":true, +"add":true, +"one_to_one_nat":false, +"first_i_p":false, +"gateway":"10.0.2.1", +"netmask":"255.255.255.0", +"vif_mac_address":"06:cb:aa:00:00:03", +"nic_dev_id":1, +"new_nic":false}], +"type":"ips"} diff --git a/systemvm/patches/debian/config/opt/cloud/testdata/ips0002.json b/systemvm/patches/debian/config/opt/cloud/testdata/ips0002.json new file mode 100644 index 00000000000..26aa8b75b6f --- /dev/null +++ b/systemvm/patches/debian/config/opt/cloud/testdata/ips0002.json @@ -0,0 +1,12 @@ +{"ip_address": +[{"public_ip":"10.0.2.103", +"source_nat":true, +"add":true, +"one_to_one_nat":false, +"first_i_p":false, +"gateway":"10.0.2.1", +"netmask":"255.255.255.0", +"vif_mac_address":"06:cb:aa:00:00:03", +"nic_dev_id":1, +"new_nic":false}], +"type":"ips"} diff --git a/systemvm/patches/debian/config/opt/cloud/testdata/ips0003.json b/systemvm/patches/debian/config/opt/cloud/testdata/ips0003.json new file mode 100644 index 00000000000..75432467302 --- /dev/null +++ b/systemvm/patches/debian/config/opt/cloud/testdata/ips0003.json @@ -0,0 +1,12 @@ +{"ip_address": +[{"public_ip":"10.0.3.10", +"source_nat":true, +"add":true, +"one_to_one_nat":false, +"first_i_p":false, +"gateway":"10.0.3.1", +"netmask":"255.255.255.0", +"vif_mac_address":"06:cb:aa:00:00:03", +"nic_dev_id":2, +"new_nic":false}], +"type":"ips"}