VOL-1407: Perform end-to-end integration testing in the K8S environment
- Added support for testing in a single-node Kubernetes environment
(affinity router not required)
- Added a preliminary README file (needs more work)
Change-Id: Ib617e1f6b6702eeeaa88a7ee9a7c6a82da8dd615
diff --git a/k8s/single-node/netcfg.json b/k8s/single-node/netcfg.json
new file mode 100644
index 0000000..1936397
--- /dev/null
+++ b/k8s/single-node/netcfg.json
@@ -0,0 +1,70 @@
+{
+ "apps": {
+ "org.opencord.aaa" : {
+ "AAA": {
+ "nasIp": "onos.voltha.svc.cluster.local",
+ "nasMac": "BA:6D:26:25:44:AA",
+ "radiusSecret": "SECRET",
+ "radiusIp": "freeradius.voltha.svc.cluster.local",
+ "radiusServerPort": "1812",
+ "radiusConnectionType": "socket",
+ "packetCustomizer": "sample"
+ }
+ },
+ "org.opencord.sadis" : {
+ "sadis" : {
+ "integration" : {
+ "cache" : {
+ "enabled" : true,
+ "maxsize" : 50,
+ "ttl" : "PT1m"
+ }
+ },
+ "entries" : [ {
+ "id" : "PSMO12345678",
+ "cTag" : 2,
+ "sTag" : 2,
+ "nasPortId" : "uni-128"
+ },{
+ "id" : "uni-129",
+ "cTag" : 2,
+ "sTag" : 2,
+ "nasPortId" : "uni-129"
+ },{
+ "id" : "uni-130",
+ "cTag" : 2,
+ "sTag" : 2,
+ "nasPortId" : "uni-130"
+ },{
+ "id" : "uni-131",
+ "cTag" : 2,
+ "sTag" : 2,
+ "nasPortId" : "uni-131"
+ }, {
+ "id" : "olt:50060",
+ "hardwareIdentifier" : "aa:bb:cc:dd:ee:ff",
+ "uplinkPort" : 65536
+ } ]
+ }
+ },
+ "org.opencord.dhcpl2relay" : {
+ "dhcpl2relay" : {
+ "dhcpServerConnectPoints" : [ "of:0000aabbccddeeff/65536" ],
+ "useOltUplinkForServerPktInOut" : true
+ }
+ }
+ },
+ "devices": {
+ "of:0000aabbccddeeff": {
+ "basic": {
+ "driver": "pmc-olt"
+ },
+ "accessDevice": {
+ "uplink": "0",
+ "vlan": "2"
+ }
+ }
+ },
+ "ports" : {
+ }
+}