Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Change to fake addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyione committed Nov 5, 2019
1 parent 6eb2fb8 commit 3d9217d
Show file tree
Hide file tree
Showing 10 changed files with 179 additions and 184 deletions.
274 changes: 137 additions & 137 deletions contrib/js-sdk/tests/common/test_data/testAllVirtualClusters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 14.3000019
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"vc2": {
Expand All @@ -75,21 +75,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 12.40000002
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"vc1": {
Expand All @@ -112,21 +112,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 9.299999340000002
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"test11": {
Expand All @@ -149,21 +149,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 3.1000001399999999
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"test_vc_1": {
Expand All @@ -186,8 +186,8 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 8
},
"nodeList": [
"10.151.40.230",
"10.151.40.231"
"0.0.0.30",
"0.0.0.31"
]
},
"nni": {
Expand All @@ -210,21 +210,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 6.200000279999999
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"testvc": {
Expand All @@ -247,21 +247,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 2.8999994760000007
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"newtest": {
Expand All @@ -284,21 +284,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 0
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"test_new": {
Expand All @@ -321,21 +321,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 0
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
},
"wertwer": {
Expand All @@ -358,21 +358,21 @@ export const testAllVirtualClusters: { [id: string]: IVirtualCluster } = {
"GPUs": 5.79999852
},
"nodeList": [
"10.151.40.235",
"10.151.40.226",
"10.151.40.239",
"10.151.40.242",
"10.151.40.227",
"10.151.40.236",
"10.151.40.228",
"10.151.40.233",
"10.151.40.224",
"10.151.40.229",
"10.151.40.237",
"10.151.40.241",
"10.151.40.232",
"10.151.40.238",
"10.151.40.240"
"0.0.0.35",
"0.0.0.26",
"0.0.0.39",
"0.0.0.42",
"0.0.0.27",
"0.0.0.36",
"0.0.0.28",
"0.0.0.33",
"0.0.0.24",
"0.0.0.29",
"0.0.0.37",
"0.0.0.41",
"0.0.0.32",
"0.0.0.38",
"0.0.0.40"
]
}
};
8 changes: 4 additions & 4 deletions contrib/js-sdk/tests/common/test_data/testJobFrameworkInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const testJobFrameworkInfo: IJobFrameworkInfo = {
"frameworkCompletedTimestamp": null,
"applicationId": "application_1565337391589_0002",
"applicationProgress": 0,
"applicationTrackingUrl": "http://10.151.40.234:8088/proxy/application_1565337391589_0002/",
"applicationTrackingUrl": "http://0.0.0.34:8088/proxy/application_1565337391589_0002/",
"applicationLaunchedTimestamp": 1565337476313,
"applicationCompletedTimestamp": null,
"applicationExitCode": null,
Expand Down Expand Up @@ -208,11 +208,11 @@ export const testJobFrameworkInfo: IJobFrameworkInfo = {
"serviceVersion": 0
},
"containerId": "container_e34_1565337391589_0002_01_000002",
"containerHost": "10.151.40.238",
"containerIp": "10.151.40.238",
"containerHost": "0.0.0.38",
"containerIp": "0.0.0.38",
"containerPorts": "ssh:34235;http:34236;model_server:34237;",
"containerGpus": 8,
"containerLogHttpAddress": "http://10.151.40.238:8042/node/containerlogs/container_e34_1565337391589_0002_01_000002/core/",
"containerLogHttpAddress": "http://0.0.0.38:8042/node/containerlogs/container_e34_1565337391589_0002_01_000002/core/",
"containerConnectionLostCount": 0,
"containerIsDecommissioning": null,
"containerLaunchedTimestamp": 1565337482022,
Expand Down
6 changes: 3 additions & 3 deletions contrib/js-sdk/tests/common/test_data/testJobSshInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ export const testJobSshInfo: IJobSshInfo = {
"containers": [
{
"id": "container_e34_1565337391589_0002_01_000002",
"sshIp": "10.151.40.238",
"sshIp": "0.0.0.38",
"sshPort": "34235"
}
],
"keyPair": {
"folderPath": "hdfs://10.151.40.234:9000/Container/core/core~tensorflow_serving_mnist_2019_6585ba19/ssh/keyFiles",
"folderPath": "hdfs://0.0.0.34:9000/Container/core/core~tensorflow_serving_mnist_2019_6585ba19/ssh/keyFiles",
"publicKeyFileName": "core~tensorflow_serving_mnist_2019_6585ba19.pub",
"privateKeyFileName": "core~tensorflow_serving_mnist_2019_6585ba19",
"privateKeyDirectDownloadLink": "http://10.151.40.234/a/10.151.40.234:5070/webhdfs/v1/Container/core/core~tensorflow_serving_mnist_2019_6585ba19/ssh/keyFiles/core~tensorflow_serving_mnist_2019_6585ba19?op=OPEN"
"privateKeyDirectDownloadLink": "http://0.0.0.34/a/0.0.0.34:5070/webhdfs/v1/Container/core/core~tensorflow_serving_mnist_2019_6585ba19/ssh/keyFiles/core~tensorflow_serving_mnist_2019_6585ba19?op=OPEN"
}
};
Loading

0 comments on commit 3d9217d

Please sign in to comment.