Converting from build_vars.yml to deployments for Croxley
With the introduction of Croxley, MetroÆ supports a new, schema-validated method of user input. The implementatino is such that now each section of the old build_vars.yml file now has its own file:
- vsds.yml
- vscs.yml
- common.yml
- and so on
As an aid to hep you convert from the older format to the new deployments, we have provided a command option:
% ./metroae convert-build-vars-to-deployments
Converts the deprecated build_vars.yml format file into a current
deployment configuration under the /data/deployments/ directory.
Usage:
/source/nuage-metro/convert_build_vars_to_deployment.py <build_vars_file> <deployment_name>
This command will create the deployments/<deployment_name>
directory and populate it with files generated based on the contents of <build_vars_file>
.