From 8026c847b0bc237d29bf7871b16d5eded51b17f9 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 29 Sep 2022 16:42:17 +0500 Subject: [PATCH] add MEC016 to V2X network scenario and remove bug for DAI --- config/.meepctl-repocfg.yaml | 4 +-- .../frontend/src/js/util/scenario-utils.js | 4 +-- networks/4g-5g-macro-v2x.yaml | 35 ++++++++++++++++++- 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/config/.meepctl-repocfg.yaml b/config/.meepctl-repocfg.yaml index f695613..2503190 100644 --- a/config/.meepctl-repocfg.yaml +++ b/config/.meepctl-repocfg.yaml @@ -834,11 +834,11 @@ repo: lint: true # location of API specifications api: - - name: 'AdvantEDGE Device application interface REST API' + - name: 'AdvantEDGE Device Application Interface REST API' file: go-apps/meep-dai/api/swagger.yaml # location of user supplied API specifications user-api: - - name: 'Device application interface REST API' + - name: 'Device Application Interface REST API' file: config/api/dai-api.yaml # resources available to docker container image docker-data: diff --git a/js-apps/frontend/src/js/util/scenario-utils.js b/js-apps/frontend/src/js/util/scenario-utils.js index 479a317..474047a 100644 --- a/js-apps/frontend/src/js/util/scenario-utils.js +++ b/js-apps/frontend/src/js/util/scenario-utils.js @@ -515,8 +515,8 @@ export function parseEdgeApps(scenario) { env: proc.environment, url: 'api/?urls.primaryName='+pl.name+'%20-%20Device%20Application%20Interface%20REST%20API', path: pl.name+'/dev_app/v1', - pseudoName: 'Device application interface (016) on ' + pl.name, - dropDownName: 'Device application interface (016)', + pseudoName: 'Device Application Interface (016) on ' + pl.name, + dropDownName: 'Device Application Interface (016)', enabled: false, enableInProgressCount: -1, disableInProgressCount: -1 diff --git a/networks/4g-5g-macro-v2x.yaml b/networks/4g-5g-macro-v2x.yaml index 3fdad66..ba06960 100644 --- a/networks/4g-5g-macro-v2x.yaml +++ b/networks/4g-5g-macro-v2x.yaml @@ -305,11 +305,44 @@ deployment: image: 'meep-docker-registry:30001/meep-tm' environment: 'MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false' netChar: + latencyDistribution: Normal throughputDl: 1000 throughputUl: 1000 latency: null latencyVariation: null + throughput: null + packetLoss: null + isExternal: null + commandArguments: null + commandExe: null + serviceConfig: null + gpuConfig: null + memoryConfig: null + cpuConfig: null + externalConfig: null + status: null + userChartLocation: null + userChartAlternateValues: null + userChartGroup: null + meta: null + userMeta: null + appLatency: null + appLatencyVariation: null + appThroughput: null + appPacketLoss: null + placementId: null + - + id: fb4d3c6a-197e-4e3f-96ae-ab4d5ac663a9 + name: mec016-1 + type: EDGE-APP + image: 'meep-docker-registry:30001/meep-dai' + environment: 'MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false' + netChar: latencyDistribution: Normal + throughputDl: 1000 + throughputUl: 1000 + latency: null + latencyVariation: null throughput: null packetLoss: null isExternal: null @@ -371,11 +404,11 @@ deployment: image: 'meep-docker-registry:30001/meep-vis' environment: 'MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false,MEEP_PREDICT_MODEL_SUPPORTED=true' netChar: + latencyDistribution: Normal throughputDl: 1000 throughputUl: 1000 latency: null latencyVariation: null - latencyDistribution: Normal throughput: null packetLoss: null isExternal: null -- GitLab