1TEST_ALLOWED_HOST = { 2 'id': 12345, 3 'name': 'Test Allowed Host', 4 'accountId': 1234, 5 'credentialId': None, 6 'createDate': '2020-01-01 00:00:01', 7 'iscsiAclCredentials': { 8 'id': 129, 9 'allowedHostId': 12345, 10 'subnetId': 12345678 11 }, 12 'subnetsInAcl': [{ 13 'id': 12345678, 14 'accountId': 1234, 15 'networkIdentifier': '10.11.12.13', 16 'cidr': '14', 17 'billingRecordId': None, 18 'parentId': None, 19 'networkVlanId': None, 20 'createDate': '2020-01-02 00:00:01', 21 'modifyDate': None, 22 'subnetType': 'SECONDARY_ON_VLAN', 23 'restrictAllocationFlag': 0, 24 'leafFlag': 1, 25 'ownerId': 1, 26 'ipAddressBegin': 129123, 27 'ipAddressEnd': 129145, 28 'purgeFlag': 0 29 }] 30} 31 32getObject = TEST_ALLOWED_HOST 33 34getSubnetsInAcl = [{ 35 'id': 12345678, 36 'accountId': 1234, 37 'networkIdentifier': '10.11.12.13', 38 'cidr': '14', 39 'billingRecordId': None, 40 'parentId': None, 41 'networkVlanId': None, 42 'createDate': '2020-01-02 00:00:01', 43 'modifyDate': None, 44 'subnetType': 'SECONDARY_ON_VLAN', 45 'restrictAllocationFlag': 0, 46 'leafFlag': 1, 47 'ownerId': 1, 48 'ipAddressBegin': 129123, 49 'ipAddressEnd': 129145, 50 'purgeFlag': 0 51}] 52 53assignSubnetsToAcl = [ 54 12345678 55] 56 57removeSubnetsFromAcl = [ 58 12345678 59] 60 61setCredentialPassword = True 62