Tony Hansen | 6b903fe | 2017-09-29 17:29:52 +0000 | [diff] [blame] | 1 | '\" 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 |
| 15 | check-blueprint-vs-input |
| 16 | .SH SYNOPSIS |
| 17 | check-blueprint-vs-input [-h] [-b BLUEPRINT] [-i INPUTS] |
| 18 | [-B BLUEPRINT_EXCLUSION_LIST] |
| 19 | [-I INPUTS_EXCLUSION_LIST] [-t] [-v] |
| 20 | .SH DESCRIPTION |
| 21 | Validate a blueprint and inputs file against each other. This looks for the |
| 22 | inputs: node of the blueprint file, the inputs used by {get_input} within the |
| 23 | blueprint, and the values found in the inputs file. The files may be in either |
| 24 | YAML or JSON formats. The names default to blueprint.yaml and inputs.yaml. If |
| 25 | a blueprint inputs name has a default value, it is not considered an error if |
| 26 | it 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 |
| 28 | instead of at the top level. If there are blueprint nodes or inputs nodes that |
| 29 | should not be considered an error, specify them using the -B/--blueprint- |
| 30 | exclusion-list and -I/inputs-exclusion-list parameters. "check-blueprint-vs- |
| 31 | input --help" will list all of the available options. |
| 32 | .SS OPTIONS |
| 33 | .HP 20 |
| 34 | -h, --help |
| 35 | show this help message and exit |
| 36 | .HP 20 |
| 37 | -b BLUEPRINT, --blueprint BLUEPRINT |
| 38 | Path to blueprint file, defaults to 'blueprint.yaml' |
| 39 | .HP 20 |
| 40 | -i INPUTS, --inputs INPUTS |
| 41 | Port to listen on, defaults to 'inputs.yaml' |
| 42 | .HP 20 |
| 43 | -B BLUEPRINT_EXCLUSION_LIST, --blueprint-exclusion-list BLUEPRINT_EXCLUSION_LIST |
| 44 | Comma-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 |
| 48 | Comma-separated list of names not to warn about not |
| 49 | being in the inputs file |
| 50 | .HP 20 |
| 51 | -t, --inputs-template |
| 52 | Treat inputs file as coming from template area |
| 53 | .HP 20 |
| 54 | -v, --verbose |
| 55 | Verbose, may be specified multiple times |