blob: 719dd79ee88af31a67fb2c4d4c0922326b8e39bd [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",
49 "network": "13.1.1.0/24"
Wei-Yu Chen450a98a2019-01-15 16:56:30 -080050 }
51}'