blob: df9bf5e09a5e20fd8eed4aee5c85279a5b93cace [file] [log] [blame]
Wei-Yu Chen450a98a2019-01-15 16:56:30 -08001---
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16---
17apiVersion: "k8s.cni.cncf.io/v1"
18kind: NetworkAttachmentDefinition
19metadata:
20 name: s1u-net
21 annotations:
22 k8s.v1.cni.cncf.io/resourceName: intel.com/sriov
23spec:
24 config: '{
25 "type": "sriov",
26 "name": "s1u-net",
27 "ipam": {
Wei-Yu Chen4a95f852019-01-22 17:03:02 -080028 "type": "centralip",
29 "ipType": "cluster",
30 "etcdURL": "http://node1:32379",
31 "network": "119.0.0.0/24"
Wei-Yu Chen450a98a2019-01-15 16:56:30 -080032 }
33}'
34---
35apiVersion: "k8s.cni.cncf.io/v1"
36kind: NetworkAttachmentDefinition
37metadata:
38 name: sgi-net
39 annotations:
40 k8s.v1.cni.cncf.io/resourceName: intel.com/sriov
41spec:
42 config: '{
43 "type": "sriov",
44 "name": "sgi-net",
45 "ipam": {
Wei-Yu Chen4a95f852019-01-22 17:03:02 -080046 "type": "centralip",
47 "ipType": "cluster",
48 "etcdURL": "http://node1:32379",
Wei-Yu Chen4182f962019-01-24 15:47:39 -080049 "network": "13.0.0.0/24"
50 }
51}'
52---
53apiVersion: "k8s.cni.cncf.io/v1"
54kind: NetworkAttachmentDefinition
55metadata:
56 name: bbu-net
57 annotations:
58 k8s.v1.cni.cncf.io/resourceName: intel.com/sriov
59spec:
60 config: '{
61 "type": "sriov",
62 "name": "bbu-net",
63 "ipam": {
64 "type": "centralip",
65 "ipType": "cluster",
66 "etcdURL": "http://node1:32379",
67 "network": "116.0.0.0/24"
Wei-Yu Chen450a98a2019-01-15 16:56:30 -080068 }
69}'