From a78f827804f10dcc6aed9498a7c3f674000feb28 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Sat, 20 Jul 2019 13:48:25 -0400 Subject: [PATCH] Add Dhcp VRA Mock --- Tests/Public/Mocks/GetDhcpVra.json | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Tests/Public/Mocks/GetDhcpVra.json diff --git a/Tests/Public/Mocks/GetDhcpVra.json b/Tests/Public/Mocks/GetDhcpVra.json new file mode 100644 index 0000000..0c2539c --- /dev/null +++ b/Tests/Public/Mocks/GetDhcpVra.json @@ -0,0 +1,50 @@ +{ + "DatastoreClusterIdentifier": null, + "DatastoreClusterName": null, + "DatastoreIdentifier": "d4a6a1d5-79e9-4308-990a-7c3e616f0908.datastore-21", + "DatastoreName": "datastore1 (2)", + "HostIdentifier": "d4a6a1d5-79e9-4308-990a-7c3e616f0908.host-18", + "HostVersion": "6.7", + "IpAddress": "192.168.10.110", + "Link": { + "href": "https://192.168.10.20:9669/v1/vras/5377857665828094938", + "identifier": "5377857665828094938", + "rel": null, + "type": "VraApi" + }, + "Link_{0}": { + "href": "https://192.168.10.20:9669/v1/vras/5377857665828094938", + "rel": "self", + "type": "VraApi" + }, + "MemoryInGB": 1, + "NetworkIdentifier": "d4a6a1d5-79e9-4308-990a-7c3e616f0908.network-22", + "NetworkName": "VM Network", + "Progress": 0, + "ProtectedCounters": { + "Vms": 0, + "Volumes": 0, + "Vpgs": 0 + }, + "RecoveryCounters": { + "Vms": 0, + "Volumes": 0, + "Vpgs": 0 + }, + "SelfProtectedVpgs": 0, + "Status": 0, + "VraAlerts": { + "VraAlertsStatus": 0 + }, + "VraGroup": "default_group", + "VraIdentifier": 5377857665828094938, + "VraIdentifierStr": "5377857665828094938", + "VraName": "Z-VRA-ncesx1.nc.lab", + "VraNetworkDataApi": { + "DefaultGateway": "", + "SubnetMask": "255.255.255.0", + "VraIPAddress": "192.168.10.110", + "VraIPConfigurationTypeApi": "Dhcp" + }, + "VraVersion": "7.0" +}