blob: c84e8bdea1443e38720809f9485f711db62779d2 [file] [log] [blame]
tiernof7aa8c42016-09-06 16:43:04 +02001##
2# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
tierno9a61c6b2016-09-08 10:57:02 +02003# This file is part of openvim
tiernof7aa8c42016-09-06 16:43:04 +02004# All Rights Reserved.
5#
6# Licensed under the Apache License, Version 2.0 (the "License"); you may
7# not use this file except in compliance with the License. You may obtain
8# a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15# License for the specific language governing permissions and limitations
16# under the License.
17#
18# For those usages not covered by the Apache License, Version 2.0 please
19# contact with: nfvlabs@tid.es
20##
21
22
23{
24 "${}":[
25 "${name} provide a port name",
26 "${net_id} provide the network uuid (null):",
27 "${vlan} provide the vlan if any (null):",
28 "${port} provide the attached switch port (Te0/47)",
29 "${mac} provide the mac of external device if known (null):"
30 ],
31
32 "port":{
33 "name": "${name}",
34 "network_id": "${net_id null}",
35 "type": "external",
36 "binding:vlan": "${vlan null-int}",
37 "binding:switch_port": "${port}",
38 "mac_address": "${mac null}"
39 }
40}
41