Loading src/tests/benchmark/policy/deploy_specs.sh +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui" export TFS_COMPONENTS="context device ztp monitoring pathcomp service slice compute webui" # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" Loading src/tests/benchmark/automation/.gitignore→src/tests/benchmark/ztp/.gitignore +0 −0 File moved. View file src/tests/benchmark/automation/README.md→src/tests/benchmark/ztp/README.md +0 −0 File moved. View file src/tests/benchmark/automation/ZtpAdd.js→src/tests/benchmark/ztp/ZtpAdd.js +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ import exec from "k6/execution"; import { check, sleep } from 'k6'; const client = new grpc.Client(); client.load(['../../../../proto'], 'automation.proto'); client.load(['../../../../proto'], 'ztp.proto'); export const data = []; for (let i = 1; i < 801; i++) { Loading Loading @@ -51,7 +51,7 @@ export default () => { }); var item = data[exec.scenario.iterationInInstance]; const response = client.invoke('automation.AutomationService/ZtpAdd', item); const response = client.invoke('ztp.ZTPService/ZtpAdd', item); check(response, { 'status is OK': (r) => r && r.status === grpc.StatusOK, Loading src/tests/benchmark/automation/ZtpDelete.js→src/tests/benchmark/ztp/ZtpDelete.js +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ import exec from "k6/execution"; import { check, sleep } from 'k6'; const client = new grpc.Client(); client.load(['../../../../proto'], 'automation.proto'); client.load(['../../../../proto'], 'ztp.proto'); export const data = []; for (let i = 1; i < 801; i++) { Loading Loading @@ -51,7 +51,7 @@ export default () => { }); var item = data[exec.scenario.iterationInInstance]; const response = client.invoke('automation.AutomationService/ZtpDelete', item); const response = client.invoke('ztp.ZTPService/ZtpDelete', item); check(response, { 'status is OK': (r) => r && r.status === grpc.StatusOK, Loading Loading
src/tests/benchmark/policy/deploy_specs.sh +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui" export TFS_COMPONENTS="context device ztp monitoring pathcomp service slice compute webui" # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" Loading
src/tests/benchmark/automation/.gitignore→src/tests/benchmark/ztp/.gitignore +0 −0 File moved. View file
src/tests/benchmark/automation/README.md→src/tests/benchmark/ztp/README.md +0 −0 File moved. View file
src/tests/benchmark/automation/ZtpAdd.js→src/tests/benchmark/ztp/ZtpAdd.js +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ import exec from "k6/execution"; import { check, sleep } from 'k6'; const client = new grpc.Client(); client.load(['../../../../proto'], 'automation.proto'); client.load(['../../../../proto'], 'ztp.proto'); export const data = []; for (let i = 1; i < 801; i++) { Loading Loading @@ -51,7 +51,7 @@ export default () => { }); var item = data[exec.scenario.iterationInInstance]; const response = client.invoke('automation.AutomationService/ZtpAdd', item); const response = client.invoke('ztp.ZTPService/ZtpAdd', item); check(response, { 'status is OK': (r) => r && r.status === grpc.StatusOK, Loading
src/tests/benchmark/automation/ZtpDelete.js→src/tests/benchmark/ztp/ZtpDelete.js +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ import exec from "k6/execution"; import { check, sleep } from 'k6'; const client = new grpc.Client(); client.load(['../../../../proto'], 'automation.proto'); client.load(['../../../../proto'], 'ztp.proto'); export const data = []; for (let i = 1; i < 801; i++) { Loading Loading @@ -51,7 +51,7 @@ export default () => { }); var item = data[exec.scenario.iterationInInstance]; const response = client.invoke('automation.AutomationService/ZtpDelete', item); const response = client.invoke('ztp.ZTPService/ZtpDelete', item); check(response, { 'status is OK': (r) => r && r.status === grpc.StatusOK, Loading