adding fixes to deploy yaml
[ovn4nfv-k8s-plugin.git] / demo / sfc-setup / demo / sfc-network.yaml
1 apiVersion: k8s.plugin.opnfv.org/v1alpha1
2 kind: Network
3 metadata:
4   name: dync-net1
5 spec:
6   cniType : ovn4nfv
7   ipv4Subnets:
8   - subnet: 172.30.33.0/24
9     name: subnet1
10     gateway: 172.30.33.1/24
11
12 ---
13
14 apiVersion: k8s.plugin.opnfv.org/v1alpha1
15 kind: Network
16 metadata:
17   name: dync-net2
18 spec:
19   cniType : ovn4nfv
20   ipv4Subnets:
21   - subnet: 172.30.44.0/24
22     name: subnet1
23     gateway: 172.30.44.1/24
24
25 ---
26
27 apiVersion: k8s.plugin.opnfv.org/v1alpha1
28 kind: ProviderNetwork
29 metadata:
30   name: left-pnetwork
31 spec:
32   cniType: ovn4nfv
33   ipv4Subnets:
34   - subnet: 172.30.10.0/24
35     name: subnet1
36     gateway: 172.30.10.1/24
37     excludeIps: 172.30.10.2
38   providerNetType: VLAN
39   vlan:
40     vlanId: "100"
41     providerInterfaceName: eth1
42     logicalInterfaceName: eth1.100
43     vlanNodeSelector: specific
44     nodeLabelList:
45     - kubernetes.io/os=linux
46
47 ---
48
49 apiVersion: k8s.plugin.opnfv.org/v1alpha1
50 kind: ProviderNetwork
51 metadata:
52   name: right-pnetwork
53 spec:
54   cniType: ovn4nfv
55   ipv4Subnets:
56   - subnet: 172.30.20.0/24
57     name: subnet1
58     gateway: 172.30.20.1/24
59     excludeIps: 172.30.20.2
60   providerNetType: VLAN
61   vlan:
62     vlanId: "200"
63     providerInterfaceName: eth1
64     logicalInterfaceName: eth1.200
65     vlanNodeSelector: specific
66     nodeLabelList:
67     - kubernetes.io/os=linux