This project uses Poetry for dependency management.
You can install the project with the following command:
poetry install
Or with pip:
pip3 install .
Usage: nac-migrate [OPTIONS]
Options:
-s, --solution [FMC] Solutions supported [FMC] [required]
-f, --from TEXT YAML file of OLD FMC configuration [required]
-t, --to TEXT YAML file of existing FMC configuration [required]
-w, --what TEXT YAML file with objects to be migrated [required]
-v, --verbose Enable verbose output
--help Show this message and exit.
If you installed with poetry install
command:
poetry run nac-migrate -s FMC --from old_fmc.yaml --to new_fmc.yaml --what to_migrate.yaml -v DEBUG
If you installed the project with pip, you can run the script directly from the command line:
nac-migrate -s FMC --from old_fmc.yaml --to new_fmc.yaml --what to_migrate.yaml -v DEBUG