Add fixtures for test of internal ip creation Signed-off-by: Quentin Pradet <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/efb296db Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/efb296db Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/efb296db Branch: refs/heads/trunk Commit: efb296dbefbbff48f6547648a43b66a5fb455ee9 Parents: 3d07b07 Author: Jeremy Solarz <[email protected]> Authored: Fri Feb 23 19:05:51 2018 +0000 Committer: Quentin Pradet <[email protected]> Committed: Sun Feb 25 09:00:55 2018 +0400 ---------------------------------------------------------------------- ...regions_us-central1_addresses_lcaddressinternal.json | 12 ++++++++++++ .../gce/regions_us-central1_subnetworks_subnet_1.json | 11 +++++++++++ 2 files changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/efb296db/libcloud/test/compute/fixtures/gce/regions_us-central1_addresses_lcaddressinternal.json ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/gce/regions_us-central1_addresses_lcaddressinternal.json b/libcloud/test/compute/fixtures/gce/regions_us-central1_addresses_lcaddressinternal.json new file mode 100644 index 0000000..749779a --- /dev/null +++ b/libcloud/test/compute/fixtures/gce/regions_us-central1_addresses_lcaddressinternal.json @@ -0,0 +1,12 @@ +{ + "address": "10.128.0.12", + "creationTimestamp": "2013-06-26T12:21:40.625-07:00", + "description": "", + "id": "01531551729918243104", + "kind": "compute#address", + "name": "lcaddressinternal", + "addressType": "INTERNAL", + "region": "https://www.googleapis.com/compute/v1/projects/project_name/regions/us-central1", + "selfLink": "https://www.googleapis.com/compute/v1/projects/project_name/regions/us-central1/addresses/lcaddressinternal", + "status": "RESERVED" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/efb296db/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_subnet_1.json ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_subnet_1.json b/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_subnet_1.json new file mode 100644 index 0000000..1ce30ae --- /dev/null +++ b/libcloud/test/compute/fixtures/gce/regions_us-central1_subnetworks_subnet_1.json @@ -0,0 +1,11 @@ +{ + "kind": "compute#subnetwork", + "id": "4297043163355844286", + "creationTimestamp": "2016-10-01T05:34:27.209-07:00", + "gatewayAddress": "10.128.0.1", + "name": "subnet_1", + "network": "https://www.googleapis.com/compute/v1/projects/project_name/global/networks/cf", + "ipCidrRange": "10.128.0.0/16", + "region": "https://www.googleapis.com/compute/v1/projects/project_name/regions/us-central1", + "selfLink": "https://www.googleapis.com/compute/v1/projects/project_name/regions/us-central1/subnetworks/subnet_1" +} \ No newline at end of file
