VOL-291 : PON simulator refactoring for cluster integration
- Added ponsim build target in Makefile
- Added new option to vcore to select comm type with ponsim
- Modified all proto files to include destination go package
Amendments:
- Clean up based on review comments
- Properly close GRPC connections in ponsim_olt adapter
- Added voltha namespace to some k8s templates
Change-Id: I2f349fa7b3550a8a8cc8fc676cc896f33fbb9372
diff --git a/k8s/freeradius.yml b/k8s/freeradius.yml
index 55eb926..baa1615 100644
--- a/k8s/freeradius.yml
+++ b/k8s/freeradius.yml
@@ -2,6 +2,7 @@
kind: Service
metadata:
name: freeradius
+ namespace: voltha
labels:
name: freeradius
spec:
@@ -25,6 +26,7 @@
kind: Deployment
metadata:
name: freeradius
+ namespace: voltha
spec:
replicas: 1
template:
diff --git a/k8s/olt.yml b/k8s/olt.yml
index 9093c3b..88925ec 100644
--- a/k8s/olt.yml
+++ b/k8s/olt.yml
@@ -2,6 +2,7 @@
kind: Service
metadata:
name: olt
+ namespace: voltha
labels:
name: olt
spec:
@@ -16,6 +17,7 @@
kind: Deployment
metadata:
name: olt
+ namespace: voltha
spec:
replicas: 1
template:
diff --git a/k8s/onos.yml b/k8s/onos.yml
index 5843a3a..f1aeb00 100644
--- a/k8s/onos.yml
+++ b/k8s/onos.yml
@@ -2,6 +2,7 @@
kind: Service
metadata:
name: onos
+ namespace: voltha
labels:
name: onos
spec:
@@ -22,6 +23,7 @@
kind: Deployment
metadata:
name: onos
+ namespace: voltha
spec:
replicas: 1
template:
diff --git a/k8s/onu.yml b/k8s/onu.yml
index cfd3763..2d262ff 100644
--- a/k8s/onu.yml
+++ b/k8s/onu.yml
@@ -2,6 +2,7 @@
kind: Service
metadata:
name: onu
+ namespace: voltha
labels:
name: onu
spec:
@@ -16,6 +17,7 @@
kind: Deployment
metadata:
name: onu
+ namespace: voltha
spec:
replicas: 3
template:
diff --git a/k8s/rg.yml b/k8s/rg.yml
index 27dd346..074a46f 100644
--- a/k8s/rg.yml
+++ b/k8s/rg.yml
@@ -2,6 +2,7 @@
kind: Deployment
metadata:
name: rg
+ namespace: voltha
spec:
replicas: 1
template: