blob: 017d529cd34648701663ed01c625a23879066e22 [file] [log] [blame]
Tony Hansen6b903fe2017-09-29 17:29:52 +00001'\" Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
2'\"
3'\" Licensed under the Apache License, Version 2.0 (the "License");
4'\" you may not use this code except in compliance
5'\" with the License. You may obtain a copy of the License
6'\" at http://www.apache.org/licenses/LICENSE-2.0
7'\"
8'\" Unless required by applicable law or agreed to in writing, software
9'\" distributed under the License is distributed on an "AS IS" BASIS,
10'\" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11'\" implied. See the License for the specific language governing
12'\" permissions and limitations under the License.
13.TH check-blueprint-vs-input 1UTIL {{DATE}} ONAP ONAP
14.SH NAME
15check-blueprint-vs-input
16.SH SYNOPSIS
17check-blueprint-vs-input [-h] [-b BLUEPRINT] [-i INPUTS]
18 [-B BLUEPRINT_EXCLUSION_LIST]
19 [-I INPUTS_EXCLUSION_LIST] [-t] [-v]
20.SH DESCRIPTION
21Validate a blueprint and inputs file against each other. This looks for the
22inputs: node of the blueprint file, the inputs used by {get_input} within the
23blueprint, and the values found in the inputs file. The files may be in either
24YAML or JSON formats. The names default to blueprint.yaml and inputs.yaml. If
25a blueprint inputs name has a default value, it is not considered an error if
26it is not in the inputs file. If using a template inputs file, add the
27-t/--template option. This will look for the inputs under an "inputs:" node
28instead of at the top level. If there are blueprint nodes or inputs nodes that
29should not be considered an error, specify them using the -B/--blueprint-
30exclusion-list and -I/inputs-exclusion-list parameters. "check-blueprint-vs-
31input --help" will list all of the available options.
32.SS OPTIONS
33.HP 20
34-h, --help
35show this help message and exit
36.HP 20
37-b BLUEPRINT, --blueprint BLUEPRINT
38Path to blueprint file, defaults to 'blueprint.yaml'
39.HP 20
40-i INPUTS, --inputs INPUTS
41Port to listen on, defaults to 'inputs.yaml'
42.HP 20
43-B BLUEPRINT_EXCLUSION_LIST, --blueprint-exclusion-list BLUEPRINT_EXCLUSION_LIST
44Comma-separated list of names not to warn about not
45 being in the blueprint file
46.HP 20
47-I INPUTS_EXCLUSION_LIST, --inputs-exclusion-list INPUTS_EXCLUSION_LIST
48Comma-separated list of names not to warn about not
49 being in the inputs file
50.HP 20
51-t, --inputs-template
52Treat inputs file as coming from template area
53.HP 20
54-v, --verbose
55Verbose, may be specified multiple times