16fea4f820aa2e2af360758493dec37d0426dcae
[cli.git] /
1 # Copyright 2018 Huawei Technologies Co., Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 open_cli_sample_version: 1.0
16 name: vsp-validate
17 version: onap-beijing
18 samples:
19   sample1:
20     name: vsp-validate
21     input: --vsp-id f19cad8343794e93acb9cda2e4126281 --vsp-version 0.1
22     moco: vsp-validate-schema-1.1-moco.json
23     output: |
24       +----------+----------------------------------------------------+
25       |property  |value                                               |
26       +----------+----------------------------------------------------+
27       |status    |Success                                             |
28       +----------+----------------------------------------------------+
29       |errors    |{dnsscaling.yaml=[{"level":"WARNING","message":"WA  |
30       |          |RNING: Port 'Fixed_IPS' Parameter Name not          |
31       |          |aligned with Guidelines, Parameter Name             |
32       |          |[vlb_private_net_id], Resource ID                   |
33       |          |[vdns_2_private_0_port]. As a result, VF\/VFC       |
34       |          |Profile may miss this information"},{"level":"WARN  |
35       |          |ING","message":"WARNING: Port 'Fixed_IPS'           |
36       |          |Parameter Name not aligned with Guidelines,         |
37       |          |Parameter Name [onap_private_subnet_id], Resource   |
38       |          |ID [vdns_2_private_1_port]. As a result, VF\/VFC    |
39       |          |Profile may miss this information"},{"level":"WARN  |
40       |          |ING","message":"WARNING: Nova Server naming         |
41       |          |convention in image, flavor and name properties     |
42       |          |is not consistent, Resource ID [vdns_2]"}], base_v  |
43       |          |lb.yaml=[{"level":"WARNING","message":"WARNING:     |
44       |          |Port 'Fixed_IPS' Parameter Name not aligned with    |
45       |          |Guidelines, Parameter Name                          |
46       |          |[onap_private_subnet_id], Resource ID               |
47       |          |[vlb_private_1_port]. As a result, VF\/VFC          |
48       |          |Profile may miss this information"},{"level":"WARN  |
49       |          |ING","message":"WARNING: Port 'Fixed_IPS'           |
50       |          |Parameter Name not aligned with Guidelines,         |
51       |          |Parameter Name [onap_private_subnet_id], Resource   |
52       |          |ID [vdns_private_1_port]. As a result, VF\/VFC      |
53       |          |Profile may miss this information"},{"level":"WARN  |
54       |          |ING","message":"WARNING: Port 'Fixed_IPS'           |
55       |          |Parameter Name not aligned with Guidelines,         |
56       |          |Parameter Name [onap_private_subnet_id], Resource   |
57       |          |ID [vpg_private_1_port]. As a result, VF\/VFC       |
58       |          |Profile may miss this information"},{"level":"WARN  |
59       |          |ING","message":"WARNING: A resource is connected    |
60       |          |twice to the same network role, Network Role        |
61       |          |[vdns_0], Resource ID [onap_private]"},{"level":"W  |
62       |          |ARNING","message":"WARNING: Nova Server naming      |
63       |          |convention in image, flavor and name properties     |
64       |          |is not consistent, Resource ID                      |
65       |          |[vdns_0]"},{"level":"WARNING","message":"WARNING:   |
66       |          |Missing Nova Server Metadata property, Resource     |
67       |          |ID                                                  |
68       |          |[vpg_0]"},{"level":"WARNING","message":"WARNING:    |
69       |          |A resource is connected twice to the same network   |
70       |          |role, Network Role [vpg_0], Resource ID [onap_priv  |
71       |          |ate]"},{"level":"WARNING","message":"WARNING:       |
72       |          |Nova Server naming convention in image, flavor      |
73       |          |and name properties is not consistent, Resource     |
74       |          |ID [vpg_0]"}]}                                      |
75       +----------+----------------------------------------------------+