This is an automated email from the ASF dual-hosted git repository. mitchell852 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit 5a6e4e225b124f02e55c317e6f9fe138e919e2fc Author: Dewayne Richardson <dewr...@apache.org> AuthorDate: Wed Mar 28 12:27:08 2018 -0600 updated for the servers fixture data --- traffic_ops/testing/api/v13/tc-fixtures.json | 930 ++++++++++++++++++++++++- traffic_ops/testing/api/v13/traffic_control.go | 1 + 2 files changed, 911 insertions(+), 20 deletions(-) diff --git a/traffic_ops/testing/api/v13/tc-fixtures.json b/traffic_ops/testing/api/v13/tc-fixtures.json index b5be3ec..27012b9 100644 --- a/traffic_ops/testing/api/v13/tc-fixtures.json +++ b/traffic_ops/testing/api/v13/tc-fixtures.json @@ -60,6 +60,20 @@ "name": "cdn3" } ], + "deliveryServiceRequestComments": [ + { + "value": "this is comment one" + }, + { + "value": "this is comment two" + }, + { + "value": "this is comment three" + }, + { + "value": "this is comment four" + } + ], "deliveryServiceRequests": [ { "changeType": "create", @@ -148,20 +162,6 @@ "status": "draft" } ], - "deliveryServiceRequestComments": [ - { - "value": "this is comment one" - }, - { - "value": "this is comment two" - }, - { - "value": "this is comment three" - }, - { - "value": "this is comment four" - } - ], "deliveryServices": [ { "active": false, @@ -549,7 +549,7 @@ { "cdnName": "cdn1", "description": "edge description", - "last_updated": "2018-03-02T17:27:11.796899+00:00", + "lastUpdated": "2018-03-02T17:27:11.796899+00:00", "name": "EDGE1", "routing_disabled": true, "type": "ATS_PROFILE" @@ -557,7 +557,7 @@ { "cdnName": "cdn1", "description": "mid description", - "last_updated": "2018-03-02T17:27:11.80173+00:00", + "lastUpdated": "2018-03-02T17:27:11.80173+00:00", "name": "MID1", "routing_disabled": false, "type": "ATS_PROFILE" @@ -565,7 +565,7 @@ { "cdnName": "cdn1", "description": "cdn1 description", - "last_updated": "2018-03-02T17:27:11.80452+00:00", + "lastUpdated": "2018-03-02T17:27:11.80452+00:00", "name": "CCR1", "routing_disabled": false, "type": "TR_PROFILE" @@ -573,7 +573,7 @@ { "cdnName": "cdn2", "description": "cdn2 description", - "last_updated": "2018-03-02T17:27:11.807948+00:00", + "lastUpdated": "2018-03-02T17:27:11.807948+00:00", "name": "CCR2", "routing_disabled": false, "type": "TR_PROFILE" @@ -581,7 +581,7 @@ { "cdnName": "cdn1", "description": "rascal description", - "last_updated": "2018-03-02T17:27:11.813052+00:00", + "lastUpdated": "2018-03-02T17:27:11.813052+00:00", "name": "RASCAL1", "routing_disabled": false, "type": "TM_PROFILE" @@ -589,7 +589,7 @@ { "cdnName": "cdn2", "description": "edge2 description", - "last_updated": "2018-03-02T17:27:11.818418+00:00", + "lastUpdated": "2018-03-02T17:27:11.818418+00:00", "name": "EDGE2", "routing_disabled": false, "type": "ATS_PROFILE" @@ -605,6 +605,896 @@ "name": "region2" } ], + "servers": [ + { + "cachegroupId": 300, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-edge-01", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:8::2/64", + "ip6Gateway": "2345:1234:12:8::1", + "ipAddress": "127.0.0.1", + "ipGateway": "127.0.0.1", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 1, + "updPending": true, + "xmppId": "atlanta-edge-01\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId": 100, + "cdnId": 100, + "domainName": "kabletown.net", + "guid": null, + "hostName": "influxdb02", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 1500, + "interfaceName": "eth1", + "ip6Address": "127.0.0.11", + "ip6Gateway": "127.0.0.11", + "ipAddress": "127.0.0.11", + "ipGateway": "127.0.0.11", + "ipNetmask": "255.255.252.0", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 300, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 8086, + "typeId": 32, + "updPending": true, + "xmppId": "", + "xmppPasswd": "" + }, + { + "cachegroupId": 300, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-router-01", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:8::10/64", + "ip6Gateway": "2345:1234:12:8::1", + "ipAddress": "127.0.0.12", + "ipGateway": "127.0.0.1", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 4, + "updPending": true, + "xmppId": "atlanta-router-01\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId": 300, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-edge-03", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:2::2/64", + "ip6Gateway": "2345:1234:12:8::1", + "ipAddress": "127.0.0.13", + "ipGateway": "127.0.0.1", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 3, + "tcpPort": 80, + "typeId": 1, + "updPending": true, + "xmppId": "atlanta-edge-03\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId": 900, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-edge-14", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:8::14/64", + "ip6Gateway": "2345:1234:12:8::1", + "ipAddress": "127.0.0.14", + "ipGateway": "127.0.0.1", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 1, + "updPending": true, + "xmppId": "atlanta-edge-14\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId": 900, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-edge-15", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:d::15/64", + "ip6Gateway": "2345:1234:12:d::1", + "ipAddress": "127.0.0.15", + "ipGateway": "127.0.0.7", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 1, + "updPending": true, + "xmppId": "atlanta-edge-15\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId": 800, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-mid-16", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:d::16/64", + "ip6Gateway": "2345:1234:12:d::1", + "ipAddress": "127.0.0.16", + "ipGateway": "127.0.0.7", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 2, + "updPending": true, + "xmppId": "atlanta-mid-16\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 800, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-org-1", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:d::17/64", + "ip6Gateway": "2345:1234:12:d::1", + "ipAddress": "127.0.0.17", + "ipGateway": "127.0.0.17", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 3, + "updPending": true, + "xmppId": "atlanta-org-1\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 800, + "cdnId": 200, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-org-2", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:d::18/64", + "ip6Gateway": "2345:1234:12:d::1", + "ipAddress": "127.0.0.18", + "ipGateway": "127.0.0.18", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 3, + "updPending": true, + "xmppId": "atlanta-org-1\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 100, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-mid-01", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:9::2/64", + "ip6Gateway": "2345:1234:12:9::1", + "ipAddress": "127.0.0.2", + "ipGateway": "127.0.0.2", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 2, + "updPending": true, + "xmppId": "atlanta-mid-01\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 100, + "cdnId": 200, + "domainName": "kabletown.net", + "guid": null, + "hostName": "rascal01", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:b::2/64", + "ip6Gateway": "2345:1234:12:b::1", + "ipAddress": "127.0.0.4", + "ipGateway": "127.0.0.4", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 81, + "typeId": 4, + "updPending": true, + "xmppId": "rascal\\\\@kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 100, + "cdnId": 100, + "domainName": "kabletown.net", + "guid": null, + "hostName": "riak01", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 1500, + "interfaceName": "eth1", + "ip6Address": "", + "ip6Gateway": "", + "ipAddress": "127.0.0.5", + "ipGateway": "127.0.0.5", + "ipNetmask": "255.255.252.0", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 8088, + "typeId": 31, + "updPending": true, + "xmppId": "", + "xmppPasswd": "" + }, + { + "cachegroupId" : 100, + "cdnId": 200, + "domainName": "kabletown.net", + "guid": null, + "hostName": "rascal02", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:c::2/64", + "ip6Gateway": "2345:1234:12:c::1", + "ipAddress": "127.0.0.6", + "ipGateway": "127.0.0.6", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.05", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 81, + "typeId": 4, + "updPending": true, + "xmppId": "rascal\\\\@kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 300, + "cdnId": 100, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-edge-02", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:d::2/64", + "ip6Gateway": "2345:1234:12:d::1", + "ipAddress": "127.0.0.7", + "ipGateway": "127.0.0.7", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 1, + "updPending": true, + "xmppId": "atlanta-edge-02\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 200, + "cdnId": 200, + "domainName": "ga.atlanta.kabletown.net", + "guid": null, + "hostName": "atlanta-mid-02", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 9000, + "interfaceName": "bond0", + "ip6Address": "2345:1234:12:e::2/64", + "ip6Gateway": "2345:1234:12:e::1", + "ipAddress": "127.0.0.8", + "ipGateway": "127.0.0.8", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 200, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 80, + "typeId": 2, + "updPending": true, + "xmppId": "atlanta-mid-02\\\\@ocdn.kabletown.net", + "xmppPasswd": "X" + }, + { + "cachegroupId" : 100, + "cdnId": 100, + "domainName": "kabletown.net", + "guid": null, + "hostName": "riak02", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 1500, + "interfaceName": "eth1", + "ip6Address": "2345:1234:12:f::2/64", + "ip6Gateway": "2345:1234:12:f::1", + "ipAddress": "127.0.0.9", + "ipGateway": "127.0.0.9", + "ipNetmask": "255.255.252.0", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 200, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 8088, + "typeId": 31, + "updPending": true, + "xmppId": "", + "xmppPasswd": "" + }, + { + "cachegroupId" : 100, + "cdnId": 100, + "domainName": "kabletown.net", + "guid": null, + "hostName": "influxdb01", + "httpsPort": null, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 1500, + "interfaceName": "eth1", + "ip6Address": "127.0.0.10", + "ip6Gateway": "127.0.0.10", + "ipAddress": "127.0.0.10", + "ipGateway": "127.0.0.10", + "ipNetmask": "255.255.252.0", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": null, + "physLocationId": 300, + "profileId": 1, + "rack": "RR 119.02", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 2, + "tcpPort": 8086, + "typeId": 32, + "updPending": true, + "xmppId": "", + "xmppPasswd": "" + }, + { + "cachegroupId" : 1, + "cdnId": 100, + "domainName": "example-domain.com", + "guid": null, + "hostName": "server1", + "httpsPort": null, + "iloIpAddress": null, + "iloIpGateway": null, + "iloIpNetmask": null, + "iloPassword": null, + "iloUsername": null, + "interfaceMtu": 1500, + "interfaceName": "bond0", + "ip6Address": null, + "ip6Gateway": null, + "ipAddress": "10.74.27.194", + "ipGateway": "10.74.27.194", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": null, + "mgmtIpGateway": null, + "mgmtIpNetmask": null, + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": null, + "revalPending": false, + "routerHostName": null, + "routerPortName": null, + "statusId": 1, + "tcpPort": null, + "typeId": 1, + "updPending": true, + "xmppId": null, + "xmppPasswd": null + }, + { + "cachegroupId" : 1, + "cdnId": 100, + "domainName": "example-domain.com", + "guid": null, + "hostName": "server2", + "httpsPort": null, + "iloIpAddress": null, + "iloIpGateway": null, + "iloIpNetmask": null, + "iloPassword": null, + "iloUsername": null, + "interfaceMtu": 1500, + "interfaceName": "bond0", + "ip6Address": "2001:852:fe0f:27::2/64", + "ip6Gateway": "2001:852:fe0f:27::1", + "ipAddress": "10.74.27.85", + "ipGateway": "10.74.27.85", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": null, + "mgmtIpGateway": null, + "mgmtIpNetmask": null, + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": null, + "revalPending": false, + "routerHostName": null, + "routerPortName": null, + "statusId": 1, + "tcpPort": null, + "typeId": 1, + "updPending": true, + "xmppId": null, + "xmppPasswd": null + }, + { + "cachegroupId" : 300, + "cdnId": 100, + "domainName": "northbound.com", + "guid": null, + "hostName": "tc1_ats1", + "httpsPort": null, + "iloIpAddress": null, + "iloIpGateway": null, + "iloIpNetmask": null, + "iloPassword": null, + "iloUsername": null, + "interfaceMtu": 1500, + "interfaceName": "eth0", + "ip6Address": null, + "ip6Gateway": null, + "ipAddress": "10.74.27.184", + "ipGateway": "10.74.27.1", + "ipNetmask": "255.255.255.0", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": null, + "mgmtIpGateway": null, + "mgmtIpNetmask": null, + "offlineReason": null, + "physLocationId": 300, + "profileId": 1, + "rack": null, + "revalPending": false, + "routerHostName": null, + "routerPortName": null, + "statusId": 1, + "tcpPort": null, + "typeId": 1, + "updPending": true, + "xmppId": null, + "xmppPasswd": null + }, + { + "cachegroupId" : 300, + "cdnId": 100, + "domainName": "northbound.com", + "guid": null, + "hostName": "tc1_ats2", + "httpsPort": null, + "iloIpAddress": null, + "iloIpGateway": null, + "iloIpNetmask": null, + "iloPassword": null, + "iloUsername": null, + "interfaceMtu": 1500, + "interfaceName": "eth0", + "ip6Address": null, + "ip6Gateway": null, + "ipAddress": "10.74.27.187", + "ipGateway": "10.74.27.1", + "ipNetmask": "255.255.255.0", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": null, + "mgmtIpGateway": null, + "mgmtIpNetmask": null, + "offlineReason": null, + "physLocationId": 300, + "profileId": 1, + "rack": null, + "revalPending": false, + "routerHostName": null, + "routerPortName": null, + "statusId": 1, + "tcpPort": null, + "typeId": 1, + "updPending": true, + "xmppId": null, + "xmppPasswd": null + }, + { + "cachegroupId" : 300, + "cdnId": 100, + "domainName": "northbound.com", + "guid": null, + "hostName": "tc2_ats2", + "httpsPort": 443, + "iloIpAddress": "", + "iloIpGateway": "", + "iloIpNetmask": "", + "iloPassword": "", + "iloUsername": "", + "interfaceMtu": 1500, + "interfaceName": "eth0", + "ip6Address": null, + "ip6Gateway": "", + "ipAddress": "10.73.27.187", + "ipGateway": "10.73.27.1", + "ipNetmask": "255.255.255.0", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": "", + "mgmtIpGateway": "", + "mgmtIpNetmask": "", + "offlineReason": "", + "physLocationId": 300, + "profileId": 1, + "rack": "", + "revalPending": false, + "routerHostName": "", + "routerPortName": "", + "statusId": 1, + "tcpPort": 80, + "typeId": 2, + "updPending": true, + "xmppId": null, + "xmppPasswd": null + }, + { + "cachegroupId" : 200, + "cdnId": 100, + "domainName": "example-domain.com", + "guid": null, + "hostName": "my-server-host", + "httpsPort": null, + "iloIpAddress": null, + "iloIpGateway": null, + "iloIpNetmask": null, + "iloPassword": null, + "iloUsername": null, + "interfaceMtu": 1500, + "interfaceName": "bond0", + "ip6Address": null, + "ip6Gateway": null, + "ipAddress": "10.74.27.78", + "ipGateway": "10.74.27.78", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": null, + "mgmtIpGateway": null, + "mgmtIpNetmask": null, + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": null, + "revalPending": false, + "routerHostName": null, + "routerPortName": null, + "statusId": 1, + "tcpPort": null, + "typeId": 1, + "updPending": true, + "xmppId": null, + "xmppPasswd": null + }, + { + "cachegroupId" : 200, + "cdnId": 100, + "domainName": "example-domain.com", + "guid": null, + "hostName": "my-server-host-ip6", + "httpsPort": null, + "iloIpAddress": null, + "iloIpGateway": null, + "iloIpNetmask": null, + "iloPassword": null, + "iloUsername": null, + "interfaceMtu": 1500, + "interfaceName": "bond0", + "ip6Address": "2001:853:fe0f:27::2/64", + "ip6Gateway": "2001:853:fe0f:27::1", + "ipAddress": "10.74.27.80", + "ipGateway": "10.74.27.80", + "ipNetmask": "255.255.255.252", + "lastUpdated": "2018-03-28T17:30:00.220351+00:00", + "mgmtIpAddress": null, + "mgmtIpGateway": null, + "mgmtIpNetmask": null, + "offlineReason": null, + "physLocationId": 100, + "profileId": 1, + "rack": null, + "revalPending": false, + "routerHostName": null, + "routerPortName": null, + "statusId": 2, + "tcpPort": null, + "typeId": 1, + "updPending": true, + "xmppId": null, + "xmppPasswd": null + } + ], "statuses": [ { "description": "Edge: Puts server in CCR config file in this state, but CCR will never route traffic to it. Mid: Server will not be included in parent.config files for its edge caches", diff --git a/traffic_ops/testing/api/v13/traffic_control.go b/traffic_ops/testing/api/v13/traffic_control.go index d13f998..b804ca0 100644 --- a/traffic_ops/testing/api/v13/traffic_control.go +++ b/traffic_ops/testing/api/v13/traffic_control.go @@ -33,6 +33,7 @@ type TrafficControl struct { Parameters []tcapi.Parameter `json:"parameters"` PhysLocations []tcapi.PhysLocation `json:"physLocations"` Regions []tcapi.Region `json:"regions"` + Servers []v13.Server `json:"servers"` Statuses []tcapi.Status `json:"statuses"` Tenants []tcapi.Tenant `json:"tenants"` Types []tcapi.Type `json:"types"` -- To stop receiving notification emails like this one, please contact mitchell...@apache.org.