AETHER-17 Add support of BESS upf to comac-in-a-box
Change-Id: I03fbb4264307a8f48ff1fd0652b15fa7a13ca810
diff --git a/comac-in-a-box/resources/router.yaml b/comac-in-a-box/resources/router.yaml
index a7a7630..1c01919 100644
--- a/comac-in-a-box/resources/router.yaml
+++ b/comac-in-a-box/resources/router.yaml
@@ -25,6 +25,30 @@
}
}'
---
+apiVersion: "k8s.cni.cncf.io/v1"
+kind: NetworkAttachmentDefinition
+metadata:
+ name: s1u-net
+spec:
+ config: '{
+ "type": "simpleovs",
+ "ipam": {
+ "type": "static"
+ }
+ }'
+---
+apiVersion: "k8s.cni.cncf.io/v1"
+kind: NetworkAttachmentDefinition
+metadata:
+ name: enb-net
+spec:
+ config: '{
+ "type": "simpleovs",
+ "ipam": {
+ "type": "static"
+ }
+ }'
+---
apiVersion: v1
kind: Pod
metadata:
@@ -33,7 +57,9 @@
app: router
annotations:
k8s.v1.cni.cncf.io/networks: '[
- { "name": "sgi-net", "interface": "sgi-rtr", "ips": "192.168.250.250/24" }
+ { "name": "sgi-net", "interface": "sgi-rtr", "ips": "192.168.250.1/24" },
+ { "name": "enb-net", "interface": "enb-rtr", "ips": "192.168.251.1/24" },
+ { "name": "s1u-net", "interface": "s1u-rtr", "ips": "192.168.252.1/24" }
]'
spec:
containers: