Adding a --details switch to have a bit more information about the
differences between yaml files.
This is pretty much leveraging the difflib to get at most 2 levels of
differences in the yaml structure.
Change-Id: If300a5f5d351404dbcf73d02822cdccf8e9f68df
The scripts in tools should be updated to use python3
by default. Support for python2 has been dropped.
Closes-Bug: #1875685
Change-Id: Ia13a8a43d767d93263d5c717f273184bf78d23c9
This change makes sure that we apply pyflake8 checks on all python
codes to improve its readability.
Note that there are some rules applied for other OpenStack projects,
but not yet turned on, which should be enabled in the future.
Change-Id: Iaf0299983d3a3fe48e3beb8f47bd33c21deb4972
Not all roles are connected to all networks, there is no
need to create metadata for networks not associated with
the role.
In edge/spine-and-leaf deployments the total number of
composable networks used can be high. Passing all the
networks we quickly go beyond the nova metadata fields
size limit (each field cannot exceed 256 bytes).
Also update tools/check-up-to-date.sh script to use the
simple yaml-diff.py instead of diff. The env generator
code will sort data, while jinja rendered environments
are not sorted, thus need to diff the data in yaml not
the text.
Closes-Bug: #1821377
Change-Id: I5ae3bc845b0a6ad6986d44b14ff4b0737a9b033b