@itentialopensource/adapter-akamai_gtm
Version:
This adapter integrates with Akamai Global Traffic Management
555 lines • 14.1 kB
JSON
{
"defaultSslClientCertificate": null,
"defaultSslClientPrivateKey": null,
"defaultUnreachableThreshold": null,
"lastModified": "2014-04-08T18:25:51.000+0000",
"lastModifiedBy": "admin@example.com",
"loadFeedback": true,
"loadImbalancePercentage": 10,
"minPingableRegionFraction": null,
"modificationComments": "CIDRMap example",
"name": "example.akadns.net",
"pingInterval": null,
"roundRobinPrefix": null,
"servermonitorLivenessCount": null,
"servermonitorLoadCount": null,
"type": "full",
"emailNotificationList": [],
"status": {
"changeId": "5beb11ae-8908-4bfe-8459-e88efc4d2fdc",
"message": "Change Pending",
"passingValidation": true,
"propagationStatus": "PENDING",
"propagationStatusDate": "2014-04-08T18:25:51.000+0000",
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/status/current",
"rel": "self"
}
]
},
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net",
"rel": "self"
},
{
"href": "/config-gtm/v1/domains/example.akadns.net/datacenters",
"rel": "datacenters"
},
{
"href": "/config-gtm/v1/domains/example.akadns.net/properties",
"rel": "properties"
},
{
"href": "/config-gtm/v1/domains/example.akadns.net/geographic-maps",
"rel": "geographic-maps"
},
{
"href": "/config-gtm/v1/domains/example.akadns.net/cidr-maps",
"rel": "cidr-maps"
},
{
"href": "/config-gtm/v1/domains/example.akadns.net/resources",
"rel": "resources"
}
],
"cidrMaps": [
{
"name": "The North",
"defaultDatacenter": {
"datacenterId": 5400,
"nickname": "All Other CIDR Blocks"
},
"assignments": [
{
"datacenterId": 3134,
"nickname": "Frostfangs and the Fist of First Men",
"blocks": [
"1.3.5.9",
"1.2.3.0/24"
]
},
{
"datacenterId": 3133,
"nickname": "Winterfell",
"blocks": [
"1.2.4.0/24"
]
}
],
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/cidr-maps/The%20North",
"rel": "self"
}
]
}
],
"datacenters": [
{
"city": "Downpatrick",
"cloneOf": 0,
"continent": "EU",
"country": "GB",
"datacenterId": 3133,
"latitude": 54.367,
"longitude": -5.582,
"nickname": "Winterfell",
"stateOrProvince": null,
"virtual": true,
"defaultLoadObject": {
"loadObject": null,
"loadObjectPort": 0,
"loadServers": null
},
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/datacenters/3133",
"rel": "self"
}
]
},
{
"city": "Doune",
"cloneOf": 0,
"continent": "EU",
"country": "GB",
"datacenterId": 3134,
"latitude": 56.185097,
"longitude": -4.050264,
"nickname": "Winterfell",
"stateOrProvince": "Perthshire",
"virtual": true,
"defaultLoadObject": {
"loadObject": null,
"loadObjectPort": 0,
"loadServers": null
},
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/datacenters/3134",
"rel": "self"
}
]
},
{
"city": null,
"cloneOf": 0,
"continent": null,
"country": null,
"datacenterId": 5400,
"latitude": 0,
"longitude": 0,
"nickname": "Default Datacenter",
"stateOrProvince": null,
"virtual": true,
"defaultLoadObject": {
"loadObject": null,
"loadObjectPort": 0,
"loadServers": null
},
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/datacenters/5400",
"rel": "self"
}
]
}
],
"geographicMaps": [
{
"name": "UK Delivery",
"defaultDatacenter": {
"datacenterId": 5400,
"nickname": "Default Mapping"
},
"assignments": [
{
"datacenterId": 3133,
"nickname": "UK users",
"countries": [
"GB"
]
}
],
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/geographic-maps/UK%20Delivery",
"rel": "self"
}
]
}
],
"properties": [
{
"backupCName": null,
"backupIp": null,
"balanceByDownloadScore": false,
"cname": null,
"comments": null,
"dynamicTTL": 300,
"failbackDelay": 0,
"failoverDelay": 0,
"handoutMode": "normal",
"healthMax": null,
"healthMultiplier": null,
"healthThreshold": null,
"ipv6": false,
"lastModified": "2014-04-08T18:25:52.000+0000",
"mapName": null,
"maxUnreachablePenalty": null,
"name": "www",
"scoreAggregationType": "mean",
"staticTTL": 600,
"stickinessBonusConstant": 0,
"stickinessBonusPercentage": 0,
"type": "failover",
"unreachableThreshold": null,
"useComputedTargets": false,
"mxRecords": [],
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/properties/www",
"rel": "self"
}
],
"livenessTests": [
{
"disableNonstandardPortWarning": false,
"hostHeader": "foo.example.com",
"httpError3xx": true,
"httpError4xx": true,
"httpError5xx": true,
"name": "health-check",
"requestString": null,
"responseString": null,
"sslClientCertificate": null,
"sslClientPrivateKey": null,
"testInterval": 60,
"testObject": "/status",
"testObjectPassword": null,
"testObjectPort": 80,
"testObjectProtocol": "HTTP",
"testObjectUsername": null,
"testTimeout": 25,
"links": []
}
],
"trafficTargets": [
{
"datacenterId": 5400,
"enabled": false,
"handoutCName": null,
"name": null,
"weight": 0,
"servers": []
},
{
"datacenterId": 3134,
"enabled": true,
"handoutCName": null,
"name": null,
"weight": 0,
"servers": [
"1.2.3.5"
]
},
{
"datacenterId": 3133,
"enabled": true,
"handoutCName": null,
"name": null,
"weight": 1,
"servers": [
"1.2.3.4"
]
}
]
},
{
"backupCName": null,
"backupIp": null,
"balanceByDownloadScore": false,
"cname": null,
"comments": null,
"dynamicTTL": 300,
"failbackDelay": 0,
"failoverDelay": 0,
"handoutMode": "normal",
"healthMax": null,
"healthMultiplier": null,
"healthThreshold": null,
"ipv6": true,
"lastModified": "2014-04-08T18:25:52.000+0000",
"loadImbalancePercentage": null,
"mapName": null,
"maxUnreachablePenalty": null,
"name": "mail",
"scoreAggregationType": "mean",
"staticTTL": 600,
"stickinessBonusConstant": 0,
"stickinessBonusPercentage": 0,
"type": "weighted-round-robin",
"unreachableThreshold": null,
"useComputedTargets": false,
"livenessTests": [],
"mxRecords": [],
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/properties/mail",
"rel": "self"
}
],
"trafficTargets": [
{
"datacenterId": 5400,
"enabled": false,
"handoutCName": null,
"name": null,
"weight": 0,
"servers": []
},
{
"datacenterId": 3134,
"enabled": true,
"handoutCName": null,
"name": null,
"weight": 1,
"servers": [
"2001:4878::5043:4078"
]
},
{
"datacenterId": 3133,
"enabled": true,
"handoutCName": null,
"name": null,
"weight": 1,
"servers": [
"2001:4878::5043:4072",
"2001:4878::5043:4071"
]
}
]
},
{
"backupCName": null,
"backupIp": null,
"balanceByDownloadScore": false,
"cname": null,
"comments": null,
"dynamicTTL": 300,
"failbackDelay": 0,
"failoverDelay": 0,
"handoutMode": "normal",
"healthMax": null,
"healthMultiplier": null,
"healthThreshold": null,
"ipv6": false,
"lastModified": "2014-04-08T18:25:52.000+0000",
"loadImbalancePercentage": null,
"mapName": null,
"maxUnreachablePenalty": null,
"name": "supplies",
"scoreAggregationType": "mean",
"staticTTL": 600,
"stickinessBonusConstant": 0,
"stickinessBonusPercentage": 0,
"type": "failover",
"unreachableThreshold": null,
"useComputedTargets": false,
"livenessTests": [],
"mxRecords": [],
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/properties/supplies",
"rel": "self"
}
],
"trafficTargets": [
{
"datacenterId": 5400,
"enabled": false,
"handoutCName": "supplies.example.com",
"name": null,
"weight": 0,
"servers": []
},
{
"datacenterId": 3134,
"enabled": true,
"handoutCName": "winter.supplies.example.com",
"name": null,
"weight": 0,
"servers": []
},
{
"datacenterId": 3133,
"enabled": true,
"handoutCName": "redcross.org",
"name": null,
"weight": 0,
"servers": []
}
]
},
{
"backupCName": null,
"backupIp": null,
"balanceByDownloadScore": false,
"cname": null,
"comments": null,
"dynamicTTL": 300,
"failbackDelay": 0,
"failoverDelay": 0,
"handoutMode": "normal",
"healthMax": null,
"healthMultiplier": null,
"healthThreshold": null,
"ipv6": false,
"lastModified": "2014-04-08T18:25:52.000+0000",
"loadImbalancePercentage": null,
"mapName": "UK Delivery",
"maxUnreachablePenalty": null,
"name": "shop",
"scoreAggregationType": "mean",
"staticTTL": 600,
"stickinessBonusConstant": 0,
"stickinessBonusPercentage": 0,
"type": "geographic",
"unreachableThreshold": null,
"useComputedTargets": false,
"livenessTests": [],
"mxRecords": [],
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/properties/shop",
"rel": "self"
}
],
"trafficTargets": [
{
"datacenterId": 5400,
"enabled": true,
"handoutCName": "shop.example.com",
"name": null,
"weight": 1,
"servers": []
},
{
"datacenterId": 3134,
"enabled": false,
"handoutCName": null,
"name": null,
"weight": 1,
"servers": []
},
{
"datacenterId": 3133,
"enabled": true,
"handoutCName": "uk.shop.example.com",
"name": null,
"weight": 1,
"servers": []
}
]
}
],
"resources": [
{
"aggregationType": "latest",
"constrainedProperty": "mail",
"decayRate": null,
"description": "CPU utilization",
"hostHeader": null,
"leaderString": null,
"leastSquaresDecay": null,
"loadImbalancePercentage": null,
"maxUMultiplicativeIncrement": null,
"name": "cpu",
"type": "XML load object via HTTP",
"upperBound": 0,
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/resources/cpu",
"rel": "self"
}
],
"resourceInstances": [
{
"datacenterId": 3134,
"loadObject": "/cpu",
"loadObjectPort": 80,
"useDefaultLoadObject": false,
"loadServers": [
"1.2.3.8"
]
},
{
"datacenterId": 3133,
"loadObject": "/cpu",
"loadObjectPort": 80,
"useDefaultLoadObject": false,
"loadServers": [
"1.2.3.7"
]
},
{
"datacenterId": 5400,
"loadObject": null,
"loadObjectPort": 0,
"useDefaultLoadObject": false,
"loadServers": []
}
]
},
{
"aggregationType": "latest",
"constrainedProperty": "**",
"decayRate": null,
"description": "Supply levels of Arbor Gold",
"hostHeader": null,
"leaderString": null,
"leastSquaresDecay": null,
"loadImbalancePercentage": null,
"maxUMultiplicativeIncrement": null,
"name": "arbor-gold",
"type": "Non-XML load object via HTTP",
"upperBound": 0,
"links": [
{
"href": "/config-gtm/v1/domains/example.akadns.net/resources/arbor-gold",
"rel": "self"
}
],
"resourceInstances": [
{
"datacenterId": 3134,
"loadObject": "/cups",
"loadObjectPort": 80,
"useDefaultLoadObject": false,
"loadServers": [
"1.2.3.8"
]
},
{
"datacenterId": 3133,
"loadObject": "/cups",
"loadObjectPort": 80,
"useDefaultLoadObject": false,
"loadServers": [
"1.2.3.7"
]
},
{
"datacenterId": 5400,
"loadObject": null,
"loadObjectPort": 0,
"useDefaultLoadObject": false,
"loadServers": []
}
]
}
]
}