aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2021-08-18 12:31:58 +0200
committerKrystian Kedron <k.kedron@partner.samsung.com>2021-08-27 18:39:38 +0000
commit992636fd23ea2853a60145f04ce5bd086578aff7 (patch)
treed4558ca90da12cb99abfd2c99e156d69a221b42d
parentf176c991d7ea04b10503ef79c98c9adc87e91fb6 (diff)
Update A1-PE sim configuration
To support new CNF settings Issue-ID: INT-1945 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I0172d06a50f94e0c0bfff4ee98bd1b583e33524c
-rw-r--r--docker/Dockerfile6
-rw-r--r--docker/resources/cells.json (renamed from doc/resources/cells.json)0
-rw-r--r--docker/resources/ue.json (renamed from doc/resources/ue.json)0
-rw-r--r--docker/resources/vnf.config (renamed from doc/resources/vnf.config)0
-rw-r--r--src/main/resources/application.properties8
5 files changed, 7 insertions, 7 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 95ee9a4..3cce571 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -4,12 +4,12 @@ COPY --chown=onap:onap a1-pe-simulator*.jar /a1-pe-simulator/a1-pe-simulator.jar
# Create conf directory where vnf.config and topology files will be placed by ONAP controller
USER root
-RUN mkdir /var/netconf2 && chown onap:onap /var/netconf2
+RUN mkdir /a1-pe-simulator/config && chown onap:onap /a1-pe-simulator/config
# Create folder for FTP upload via file system and change owner
-RUN mkdir -p /a1pesim/generated_pm_bulks && chown onap:onap /a1pesim/generated_pm_bulks
+RUN mkdir -p /a1-pe-simulator/generated_pm_bulks && chown onap:onap /a1-pe-simulator/generated_pm_bulks
USER onap
-COPY --chown=onap:onap resource/* /var/netconf2/
+COPY --chown=onap:onap resources/ /a1-pe-simulator/config
WORKDIR /a1-pe-simulator
diff --git a/doc/resources/cells.json b/docker/resources/cells.json
index 42e94c2..42e94c2 100644
--- a/doc/resources/cells.json
+++ b/docker/resources/cells.json
diff --git a/doc/resources/ue.json b/docker/resources/ue.json
index 2342723..2342723 100644
--- a/doc/resources/ue.json
+++ b/docker/resources/ue.json
diff --git a/doc/resources/vnf.config b/docker/resources/vnf.config
index d14fe7b..d14fe7b 100644
--- a/doc/resources/vnf.config
+++ b/docker/resources/vnf.config
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 581e0cf..0228b87 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -12,7 +12,7 @@
#
server.port=9998
-vnf.config.file=/var/a1pesim/vnf.config
+vnf.config.file=/a1-pe-simulator/config/vnf.config
ves.collector.protocol=https
ves.collector.endpoint=/eventListener/v7
ves.pm.maxPoolSize=10
@@ -28,8 +28,8 @@ ftp.server.filepath=upload
ftp.server.username=admin
ftp.server.password=samsung
topology.cell.range=5
-topology.cell.config.file=/var/a1pesim/cells.json
-topology.ue.config.file=/var/a1pesim/ue.json
+topology.cell.config.file=/a1-pe-simulator/config/cells.json
+topology.ue.config.file=/a1-pe-simulator/config/ue.json
spring.cache.cache-names=vnfConfig,pmVes,failurePmVes
spring.cache.caffeine.spec=maximumSize=10,expireAfterAccess=900s
spring.mvc.view.prefix:/
@@ -38,7 +38,7 @@ logging.config=classpath:logback-spring.xml
refresher.fixed.rate.ms=60000
restapi.version=v1
# PM Bulk File constants
-xml.pm.location=/a1pesim/generated_pm_bulks
+xml.pm.location=/a1-pe-simulator/generated_pm_bulks
xml.pm.bulk.fileFormatVersion=32.435 V7.0
xml.pm.bulk.vendorName=Samsung
xml.pm.bulk.userLabel=ORAN PE Sim