Skip to content
Snippets Groups Projects
Commit 6cad92a4 authored by Alejandro Tjaarda's avatar Alejandro Tjaarda
Browse files

api: updated ned sample to the new api version

parent 2ee9d0e8
No related branches found
No related tags found
1 merge request!2repo: added new directory where utils scripts will be
...@@ -7,7 +7,10 @@ metadata: ...@@ -7,7 +7,10 @@ metadata:
spec: spec:
networkController: networkController:
name: example-network-controller name: example-network-controller
domain: controller.example.com domain: 192.168.122.60
nodeConfig:
nodeName: ant-machine
ipAddress: 192.168.122.60
neighbors: neighbors:
- node: l2sm-test-5 - node: l2sm-test-5
domain: 10.0.0.2 domain: 10.0.0.2
...@@ -16,7 +19,13 @@ spec: ...@@ -16,7 +19,13 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: l2sm-switch - name: l2sm-switch
image: alexdecb/l2sm-switch:2.3 image: alexdecb/l2sm-ned:2.7.1
resources: {} resources: {}
# command: ["/bin/sh"]
# args: ["-c", "sleep infinity"]
imagePullPolicy: Always
ports: ports:
- containerPort: 80 - containerPort: 80
securityContext:
capabilities:
add: ["NET_ADMIN"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment