aboutsummaryrefslogtreecommitdiffstats
path: root/helm/README.md
diff options
context:
space:
mode:
authorEdyta Krukowska <edyta.krukowska@nokia.com>2021-04-22 14:48:13 +0200
committerEdyta Krukowska <edyta.krukowska@nokia.com>2021-04-23 11:46:44 +0200
commit15c88d48aab835770889f9db1bd4fd46fcb89772 (patch)
treed3acaa7f2ccb08fba80432f4e6c7c65b51108929 /helm/README.md
parent831e07a31fff07a9d2ab59f730852cd38680384a (diff)
Create chart for nf-simulator agregating avcn, netconf and ves-client
Issue-ID: INT-1869 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Iadbf7c5186aedb3b9c74c2daed51eda0b67bd1a6
Diffstat (limited to 'helm/README.md')
-rw-r--r--helm/README.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/helm/README.md b/helm/README.md
new file mode 100644
index 0000000..4e314d6
--- /dev/null
+++ b/helm/README.md
@@ -0,0 +1,39 @@
+# Nf-simulator
+
+# How to deploy on lab
+
+1. Copy files from helm to lab
+
+ `scp -i <path to key file .pem> -r <path to helm/> ubuntu@<RKE_NODE_IP>:<remote path to>/nf-simulator `
+2. Log into the RKE
+
+3. Update helm dependencies
+
+ WARNING: Before this step make sure, that in subproject folders "charts" folders are empty
+
+ `cd ./nf-simulator`
+ `helm dependency update nf-simulator`
+
+4. Install chart on your lab
+
+ `helm install nf nf-simulator/nf-simulator/ -f oom/kubernetes/registry.yaml`
+
+# How to use nf-simulator
+1. Try to send message:
+
+ `<config xmlns="http://onap.org/pnf-simulator">
+ <itemValue1>4265</itemValue1>
+ <itemValue2>87</itemValue2>
+ </config> `
+
+ to http://<WORKER_ID_NODE>:30555/change_config/pnf-simulator
+2. List all your pods
+3. Check logs in netconf (you should see information that configuration has changed)
+ `kubectl get logs <netconf pod name>`
+4. Check logs in avcn-manager (you have to wait couple of minutes, and you should see information about sending new config to ves-client)
+ `kubectl get logs <avcn-manager pod name>`
+5. Check logs in ves-client (you should see logs about trying to send a new message to ves)
+ `kubectl get logs <ves-client pod name>`
+
+
+ \ No newline at end of file