aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2019-05-14 16:36:48 +0000
committerRitu Sood <ritu.sood@intel.com>2019-05-14 16:44:47 +0000
commit9b2e8b3e41dd89bd1cb9a661a10d5d76125af5b1 (patch)
tree92dc5ba622c8e9a746a1c025c7404a513df1c444 /src/k8splugin/mock_files
parent52853025e3b450957fa3813cb4e9861f3573510a (diff)
Change format of the network file
Format of network file is different between KUD and Plugin. Change the format to match the format in KUD Change-Id: I360741b23e91e60d790a50a7eeb213576b0508b3 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-304
Diffstat (limited to 'src/k8splugin/mock_files')
-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"