[PDF] Fix yamllint issues in installer adapters 17/50517/9
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 12 Jan 2018 18:45:21 +0000 (19:45 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 14 Jan 2018 17:02:30 +0000 (18:02 +0100)
commitff8a684abb229ce0160440291abb0e92604c809e
treec3005b4c179a6e0395529579cad5351f57563176
parent90e2b5ea413edb1f12d0f6fbcc58e7c68b2aaa57
[PDF] Fix yamllint issues in installer adapters

Although current YAML files in Pharos are all valid according to
yamllint, the resulting YAMLs after PDF/IDF + IA interpolations
still have a lot of violations, which need to be addressed.

PDF changes:
- bii/pod1:
  + fix typo in disks_A reference;

IDF changes:
- replace empty strings with `~` keyword (will be expanded to 'None');

IA (installer adapter) changes:
- apex:
  + add missing document start;
- compass4nfv:
  + too few spaces before comment;
  + missing starting space in comment;
  + replace '\t' with spaces;
- daisy:
  + None;
- fuel:
  + check conf.idf is defined first (fix parse for PODs without IDF);
  + move document start outside conf.idf condition
- joid:
  + None;

This is not an exhaustive change, some yamllint issues are still there
but require either refactoring IAs or changing the PDF/IDF files in a
way that needs the respective maintainer's input.

Change-Id: I26743e265217e892b6a94de96a016c295ea24fb5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
21 files changed:
config/installers/apex/pod_config.yaml.j2
config/installers/compass4nfv/network.yml.j2
config/installers/compass4nfv/network_ocl.yml.j2
config/installers/compass4nfv/network_onos.yml.j2
config/installers/compass4nfv/network_openo.yml.j2
config/installers/compass4nfv/os-nosdn-nofeature-ha.yml.j2
config/installers/compass4nfv/os-nosdn-openo-ha.yml.j2
config/installers/compass4nfv/os-ocl-nofeature-ha.yml.j2
config/installers/compass4nfv/os-odl_l2-moon-ha.yml.j2
config/installers/compass4nfv/os-odl_l2-nofeature-ha.yml.j2
config/installers/compass4nfv/os-odl_l3-nofeature-ha.yml.j2
config/installers/compass4nfv/os-onos-nofeature-ha.yml.j2
config/installers/compass4nfv/os-onos-sfc-ha.yml.j2
config/installers/fuel/pod_config.yml.j2
labs/arm/idf-pod5.yaml
labs/arm/idf-pod6.yaml
labs/bii/pod1.yaml
labs/ericsson/idf-pod1.yaml
labs/lf/idf-pod2.yaml
labs/lf/idf-pod5.yaml
labs/zte/idf-pod1.yaml