Initial openvim v0.4.6 upload
[osm/openvim.git] / test / servers / new_server.yaml
1 ##
2 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
3 # This file is part of openmano
4 # 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         "${name} provide a name (VM)",
25         "${description} provide a description (${name})",
26         "${image_id} provide image_id uuid",
27         "${flavor_id} provide flavor_id uuid",
28         "${network0} provide a bridge network id; enter='default' (00000000-0000-0000-0000-000000000000)",
29         "${network1} provide a bridge network id; enter='virbrMan' (60f5227e-195f-11e4-836d-52540030594e)"
30     ],
31 "server":{
32     "networks":[
33         {
34             "name":"mgmt0",
35             "vpci": "0000:00:0a.0",
36             "uuid":"${network0}"
37         },
38         {
39             "name":"ge0",
40             "vpci": "0000:00:0b.0",
41             "uuid":"${network1}"
42         }
43     ],
44     "name":"${name}", 
45     "description":"${description}",
46     "imageRef":  "${image_id}", 
47     "flavorRef": "${flavor_id}" 
48 }
49 }