aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-05-16 01:23:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-16 01:23:52 +0000
commitfe05f71354a64e761bcd4d8b2307d7ede8164302 (patch)
tree88e0226379fa533d7b7b8dba336c12163c5a1329 /src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml
parent82cbd4cf2d85f4e1025e3477c92f706d61cf875a (diff)
parent9b2e8b3e41dd89bd1cb9a661a10d5d76125af5b1 (diff)
Merge "Change format of the network file"
Diffstat (limited to 'src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml')
-rw-r--r--src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml b/src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml
index 1a262753..31351dee 100644
--- a/src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml
+++ b/src/k8splugin/mock_files/mock_yamls/ovn4nfvk8s.yaml
@@ -1,15 +1,9 @@
apiVersion: v1
-kind: OnapNetwork
+kind: Network
metadata:
name: ovn-priv-net
spec:
- config: '{
- "cnitype": "ovn4nfvk8s",
- "name": "mynet",
- "subnet": "172.16.33.0/24",
- "gateway": "172.16.33.1",
- "routes": [{
- "dst": "172.16.29.1/24",
- "gw": "100.64.1.1"
- }]
- }' \ No newline at end of file
+ cnitype: "ovn4nfvk8s"
+ name: "ovn-priv-net"
+ subnet: "172.16.33.0/24"
+ gateway: "172.16.33.1/24"