1createCancelServerTicket = {'id': 1234, 'title': 'Server Cancellation Request'} 2getObject = { 3 "guestNetworkComponentId": 1705294, 4 "id": 1234, 5 "status": "allow_edit", 6 "billingItem": { 7 "allowCancellationFlag": 1, 8 "associatedBillingItemId": "20952512", 9 "categoryCode": "firewall", 10 "createDate": "2014-03-21T14:07:04-05:00", 11 "cycleStartDate": "2014-03-21T14:07:04-05:00", 12 "description": "10Mbps Hardware Firewall", 13 "id": 21370814, 14 "laborFee": "0", 15 "laborFeeTaxRate": ".066", 16 "lastBillDate": "2014-03-21T14:07:04-05:00", 17 "modifyDate": "2014-03-21T14:07:07-05:00", 18 "nextBillDate": "2014-04-04T00:00:00-05:00", 19 "oneTimeFee": "0", 20 "oneTimeFeeTaxRate": ".066", 21 "orderItemId": 28712824, 22 "parentId": 20952512, 23 "recurringFee": "0", 24 "recurringFeeTaxRate": ".066", 25 "recurringMonths": 1, 26 "serviceProviderId": 1, 27 "setupFee": "0", 28 "setupFeeTaxRate": ".066" 29 }, 30 "guestNetworkComponent": { 31 "createDate": "2014-03-17T13:49:00-05:00", 32 "guestId": 3895386, 33 "id": 1705294, 34 "macAddress": "06:a4:8d:d2:88:34", 35 "maxSpeed": 10, 36 "modifyDate": "2014-03-17T13:49:20-05:00", 37 "name": "eth", 38 "networkId": 1310218, 39 "port": 1, 40 "speed": 10, 41 "status": "ACTIVE", 42 "uuid": "3f1b5e08-a652-fb3b-1baa-8ace70c90fe9", 43 "guest": { 44 "accountId": 307608, 45 "dedicatedAccountHostOnlyFlag": False, 46 "domain": "test.com", 47 "fullyQualifiedDomainName": "test.test.com", 48 "hostname": "firewalltest", 49 "id": 3895386, 50 "maxCpu": 1, 51 "maxCpuUnits": "CORE", 52 "maxMemory": 1024, 53 "modifyDate": "2014-03-21T14:05:51-05:00", 54 "startCpus": 1, 55 "statusId": 1001, 56 "uuid": "29b40ef0-a43a-8cb6-31be-1878cb6853f0", 57 "status": { 58 "keyName": "ACTIVE", 59 "name": "Active" 60 } 61 } 62 } 63} 64 65getRules = [ 66 { 67 'destinationIpAddress': 'any on server', 68 'protocol': 'tcp', 69 'orderValue': 1, 70 'destinationIpSubnetMask': '255.255.255.255', 71 'destinationPortRangeStart': 80, 72 'sourceIpSubnetMask': '0.0.0.0', 73 'destinationPortRangeEnd': 80, 74 'version': 4, 75 'action': 'permit', 76 'sourceIpAddress': '0.0.0.0' 77 }, 78 { 79 'destinationIpAddress': 'any on server', 80 'protocol': 'tcp', 81 'orderValue': 2, 82 'destinationIpSubnetMask': '255.255.255.255', 83 'destinationPortRangeStart': 1, 84 'sourceIpSubnetMask': '255.255.255.255', 85 'destinationPortRangeEnd': 65535, 86 'version': 4, 87 'action': 'permit', 88 'sourceIpAddress': '193.212.1.10' 89 }, 90 { 91 'destinationIpAddress': 'any on server', 92 'protocol': 'tcp', 93 'orderValue': 3, 94 'destinationIpSubnetMask': '255.255.255.255', 95 'destinationPortRangeStart': 80, 96 'sourceIpSubnetMask': '0.0.0.0', 97 'destinationPortRangeEnd': 800, 98 'version': 4, 99 'action': 'permit', 100 'sourceIpAddress': '0.0.0.0' 101 } 102] 103 104getBillingItem = {"id": 21370814} 105