mitchell852 closed pull request #2112: Updated the DSR test cases to make 
remote calls for foreign key needs
URL: https://github.com/apache/incubator-trafficcontrol/pull/2112
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/traffic_ops/testing/api/v13/deliveryservice_request_comments_test.go 
b/traffic_ops/testing/api/v13/deliveryservice_request_comments_test.go
index 40fda203e..55968e02b 100644
--- a/traffic_ops/testing/api/v13/deliveryservice_request_comments_test.go
+++ b/traffic_ops/testing/api/v13/deliveryservice_request_comments_test.go
@@ -24,12 +24,16 @@ import (
 
 func TestDeliveryServiceRequestComments(t *testing.T) {
 
+       CreateTestCDNs(t)
+       CreateTestTypes(t)
        CreateTestDeliveryServiceRequests(t)
        CreateTestDeliveryServiceRequestComments(t)
        UpdateTestDeliveryServiceRequestComments(t)
        GetTestDeliveryServiceRequestComments(t)
        DeleteTestDeliveryServiceRequestComments(t)
        DeleteTestDeliveryServiceRequests(t)
+       DeleteTestTypes(t)
+       DeleteTestCDNs(t)
 
 }
 
diff --git a/traffic_ops/testing/api/v13/deliveryservice_requests_test.go 
b/traffic_ops/testing/api/v13/deliveryservice_requests_test.go
index ac8e97a68..4d9c57285 100644
--- a/traffic_ops/testing/api/v13/deliveryservice_requests_test.go
+++ b/traffic_ops/testing/api/v13/deliveryservice_requests_test.go
@@ -33,19 +33,41 @@ const (
 
 func TestDeliveryServiceRequests(t *testing.T) {
 
+       CreateTestCDNs(t)
+       CreateTestTypes(t)
        CreateTestDeliveryServiceRequests(t)
        GetTestDeliveryServiceRequests(t)
        UpdateTestDeliveryServiceRequests(t)
        DeleteTestDeliveryServiceRequests(t)
+       DeleteTestTypes(t)
+       DeleteTestCDNs(t)
 
 }
 
 func CreateTestDeliveryServiceRequests(t *testing.T) {
        log.Debugln("CreateTestDeliveryServiceRequests")
 
+       // Attach CDNs
+       cdn := testData.CDNs[0]
+       resp, _, err := TOSession.GetCDNByName(cdn.Name)
+       if err != nil {
+               t.Errorf("cannot GET CDN by name: %v - %v\n", cdn.Name, err)
+       }
+       respCDN := resp[0]
+
+       // Attach Type
+       typ := testData.Types[19]
+       respTypes, _, err := TOSession.GetTypeByName(typ.Name)
+       if err != nil {
+               t.Errorf("cannot GET Type by name: %v - %v\n", typ.Name, err)
+       }
+       respTyp := respTypes[0]
+
        dsr := testData.DeliveryServiceRequests[dsrGood]
-       resp, _, err := TOSession.CreateDeliveryServiceRequest(dsr)
-       log.Debugln("Response: ", resp)
+       dsr.DeliveryService.CDNID = respCDN.ID
+       dsr.DeliveryService.TypeID = respTyp.ID
+       respDSR, _, err := TOSession.CreateDeliveryServiceRequest(dsr)
+       log.Debugln("Response: ", respDSR)
        if err != nil {
                t.Errorf("could not CREATE DeliveryServiceRequests: %v\n", err)
        }
diff --git a/traffic_ops/testing/api/v13/profiles_test.go 
b/traffic_ops/testing/api/v13/profiles_test.go
index 94677f88a..8dd2466c5 100644
--- a/traffic_ops/testing/api/v13/profiles_test.go
+++ b/traffic_ops/testing/api/v13/profiles_test.go
@@ -16,6 +16,7 @@
 package v13
 
 import (
+       "fmt"
        "testing"
 
        "github.com/apache/incubator-trafficcontrol/lib/go-log"
@@ -45,6 +46,8 @@ func CreateTestProfiles(t *testing.T) {
        for _, pr := range testData.Profiles {
                cdns, _, err := TOSession.GetCDNByName(pr.CDNName)
                respCDN := cdns[0]
+               cdnName := respCDN.Name
+               fmt.Printf("profileName: %s, cdnName %s\n", pr.Name, cdnName)
                pr.CDNID = respCDN.ID
 
                resp, _, err := TOSession.CreateProfile(pr)
diff --git a/traffic_ops/testing/api/v13/tc-fixtures.json 
b/traffic_ops/testing/api/v13/tc-fixtures.json
index 9def4afcf..ee2afec23 100644
--- a/traffic_ops/testing/api/v13/tc-fixtures.json
+++ b/traffic_ops/testing/api/v13/tc-fixtures.json
@@ -15,7 +15,6 @@
             "longitude": 0,
             "name": "parentCachegroup",
             "shortName": "pg1",
-            "typeId": 5,
             "typeName": "MID_LOC"
         },
         {
@@ -23,7 +22,6 @@
             "longitude": 0,
             "name": "secondaryCachegroup",
             "shortName": "sg1",
-            "typeId": 5,
             "typeName": "MID_LOC"
         },
         {
@@ -33,7 +31,6 @@
             "parentCachegroupName": "parentCachegroup",
             "secondaryParentCachegroupName": "secondaryCachegroup",
             "shortName": "cg1",
-            "typeId": 6,
             "typeName": "EDGE_LOC"
         },
         {
@@ -43,7 +40,6 @@
             "parentCachegroupName": "parentCachegroup",
             "secondaryParentCachegroupName": "secondaryCachegroup",
             "shortName": "cg2",
-            "typeId": 6,
             "typeName": "EDGE_LOC"
         }
     ],
@@ -62,6 +58,11 @@
             "dnssecEnabled": true,
             "domainName": "test.cdn3.net",
             "name": "cdn3"
+        },
+        {
+            "dnssecEnabled": true,
+            "domainName": "test.cdn4.net",
+            "name": "cdn4"
         }
     ],
     "deliveryServiceRequestComments": [
@@ -84,7 +85,6 @@
             "deliveryService": {
                 "active": true,
                 "ccrDnsTtl": 30,
-                "cdnId": 1,
                 "deepCachingType": "NEVER",
                 "displayName": "Good Kabletown CDN",
                 "dscp": 1,
@@ -96,7 +96,6 @@
                 "regionalGeoBlocking": true,
                 "routingName": "goodroute",
                 "tenantId": 2,
-                "typeId": 70,
                 "xmlId": "test-ds1"
             },
             "status": "draft"
@@ -106,7 +105,6 @@
             "deliveryService": {
                 "active": true,
                 "ccrDnsTtl": 30,
-                "cdnId": 1,
                 "deepCachingType": "NEVER",
                 "displayName": "Bad Tenant",
                 "dscp": 0,
@@ -117,7 +115,6 @@
                 "longDesc": "long desc",
                 "regionalGeoBlocking": false,
                 "tenantId": 1,
-                "typeId": 70,
                 "xmlId": "test-ds1"
             },
             "status": "draft"
@@ -148,7 +145,6 @@
             "deliveryService": {
                 "active": false,
                 "ccrDnsTtl": 30,
-                "cdnId": 1,
                 "deepCachingType": "ALWAYS",
                 "displayName": "Testing transitions",
                 "dscp": 3,
@@ -160,7 +156,6 @@
                 "regionalGeoBlocking": true,
                 "routingName": "goodroute",
                 "tenantId": 2,
-                "typeId": 70,
                 "xmlId": "test-transitions"
             },
             "status": "draft"
@@ -558,6 +553,14 @@
             "routing_disabled": true,
             "type": "ATS_PROFILE"
         },
+        {
+            "cdnName": "cdn4",
+            "description": "edge2 description",
+            "lastUpdated": "2018-03-02T17:27:11.818418+00:00",
+            "name": "EDGE2",
+            "routing_disabled": false,
+            "type": "ATS_PROFILE"
+        },
         {
             "cdnName": "cdn1",
             "description": "mid description",
@@ -589,23 +592,13 @@
             "name": "RASCAL1",
             "routing_disabled": false,
             "type": "TM_PROFILE"
-        },
-        {
-            "cdnName": "cdn2",
-            "description": "edge2 description",
-            "lastUpdated": "2018-03-02T17:27:11.818418+00:00",
-            "name": "EDGE2",
-            "routing_disabled": false,
-            "type": "ATS_PROFILE"
         }
     ],
     "profileParameters": [
         {
-            "profileId": 100,
             "parameterId": 100
         },
         {
-            "profileId": 200,
             "parameterId": 200
         }
     ],
@@ -621,8 +614,6 @@
     ],
     "servers": [
         {
-            "cachegroupId": 300,
-            "cdnId": 100,
             "domainName": "ga.atlanta.kabletown.net",
             "guid": null,
             "hostName": "atlanta-edge-01",
@@ -634,7 +625,7 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:8::2/64",
+            "ip6Address": "2345:1234:12:8::1/64",
             "ip6Gateway": "2345:1234:12:8::1",
             "ipAddress": "127.0.0.1",
             "ipGateway": "127.0.0.1",
@@ -644,22 +635,16 @@
             "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",
@@ -671,8 +656,8 @@
             "iloUsername": "",
             "interfaceMtu": 1500,
             "interfaceName": "eth1",
-            "ip6Address": "127.0.0.11",
-            "ip6Gateway": "127.0.0.11",
+            "ip6Address": "2345:1234:12:8::2/64",
+            "ip6Gateway": "2345:1234:12:8::2",
             "ipAddress": "127.0.0.11",
             "ipGateway": "127.0.0.11",
             "ipNetmask": "255.255.252.0",
@@ -681,22 +666,16 @@
             "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",
@@ -708,8 +687,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:8::10/64",
-            "ip6Gateway": "2345:1234:12:8::1",
+            "ip6Address": "2345:1234:12:8::3/64",
+            "ip6Gateway": "2345:1234:12:8::3",
             "ipAddress": "127.0.0.12",
             "ipGateway": "127.0.0.1",
             "ipNetmask": "255.255.255.252",
@@ -718,22 +697,16 @@
             "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",
@@ -745,8 +718,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:2::2/64",
-            "ip6Gateway": "2345:1234:12:8::1",
+            "ip6Address": "2345:1234:12:2::4/64",
+            "ip6Gateway": "2345:1234:12:8::4",
             "ipAddress": "127.0.0.13",
             "ipGateway": "127.0.0.1",
             "ipNetmask": "255.255.255.252",
@@ -755,22 +728,16 @@
             "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",
@@ -782,8 +749,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:8::14/64",
-            "ip6Gateway": "2345:1234:12:8::1",
+            "ip6Address": "2345:1234:12:8::5/64",
+            "ip6Gateway": "2345:1234:12:8::5",
             "ipAddress": "127.0.0.14",
             "ipGateway": "127.0.0.1",
             "ipNetmask": "255.255.255.252",
@@ -792,22 +759,16 @@
             "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",
@@ -819,8 +780,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:d::15/64",
-            "ip6Gateway": "2345:1234:12:d::1",
+            "ip6Address": "2345:1234:12:d::6/64",
+            "ip6Gateway": "2345:1234:12:d::6",
             "ipAddress": "127.0.0.15",
             "ipGateway": "127.0.0.7",
             "ipNetmask": "255.255.255.252",
@@ -829,22 +790,16 @@
             "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",
@@ -856,8 +811,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:d::16/64",
-            "ip6Gateway": "2345:1234:12:d::1",
+            "ip6Address": "2345:1234:12:d::7/64",
+            "ip6Gateway": "2345:1234:12:d::7",
             "ipAddress": "127.0.0.16",
             "ipGateway": "127.0.0.7",
             "ipNetmask": "255.255.255.252",
@@ -866,22 +821,16 @@
             "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",
@@ -893,8 +842,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:d::17/64",
-            "ip6Gateway": "2345:1234:12:d::1",
+            "ip6Address": "2345:1234:12:d::8/64",
+            "ip6Gateway": "2345:1234:12:d::8",
             "ipAddress": "127.0.0.17",
             "ipGateway": "127.0.0.17",
             "ipNetmask": "255.255.255.252",
@@ -903,22 +852,16 @@
             "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",
@@ -930,8 +873,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:d::18/64",
-            "ip6Gateway": "2345:1234:12:d::1",
+            "ip6Address": "2345:1234:12:d::9/64",
+            "ip6Gateway": "2345:1234:12:d::9",
             "ipAddress": "127.0.0.18",
             "ipGateway": "127.0.0.18",
             "ipNetmask": "255.255.255.252",
@@ -940,22 +883,16 @@
             "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",
@@ -967,8 +904,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:9::2/64",
-            "ip6Gateway": "2345:1234:12:9::1",
+            "ip6Address": "2345:1234:12:9::10/64",
+            "ip6Gateway": "2345:1234:12:9::10",
             "ipAddress": "127.0.0.2",
             "ipGateway": "127.0.0.2",
             "ipNetmask": "255.255.255.252",
@@ -977,22 +914,16 @@
             "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",
@@ -1004,8 +935,8 @@
             "iloUsername": "",
             "interfaceMtu": 9000,
             "interfaceName": "bond0",
-            "ip6Address": "2345:1234:12:b::2/64",
-            "ip6Gateway": "2345:1234:12:b::1",
+            "ip6Address": "2345:1234:12:b::11/64",
+            "ip6Gateway": "2345:1234:12:b::11",
             "ipAddress": "127.0.0.4",
             "ipGateway": "127.0.0.4",
             "ipNetmask": "255.255.255.252",
@@ -1014,22 +945,16 @@
             "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",
@@ -1041,8 +966,8 @@
             "iloUsername": "",
             "interfaceMtu": 1500,
             "interfaceName": "eth1",
-            "ip6Address": "",
-            "ip6Gateway": "",
+            "ip6Address": "2345:1234:12:b::12/64",
+            "ip6Gateway": "2345:1234:12:b::12",
             "ipAddress": "127.0.0.5",
             "ipGateway": "127.0.0.5",
             "ipNetmask": "255.255.252.0",
@@ -1051,462 +976,14 @@
             "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": [


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to