pcemigrate create-config-map
This command retrieves the Policy object from the target PCE and creates Policy map data as if the migration had been completed successfully between the source and target.
pcemigrate create-config-map --help
pcemigrate create-config-map --help
Note: Assume that hrefs of policy objects are the same
Usage:
pcemigrate create-config-map [flags]
Flags:
--from-pce string Source PCE.
--to-pce string Destination PCE.
--data-base-dir string Base working directory.
-h, --help help for create-config-map
Global Flags (not relevant for all commands):
--config-file string path for pcemigrate pce.yaml file.
--debug Enable debug level logging for
troubleshooting.
--log-file string path for pcemigrate log file.
(default "pcemigrate.log")
--migrate-op When migrate-op is set to true,
Import operation are interpreted
as copy of objects from a
different PCE as part of a
PCE migration operation.
--no-prompt Remove the user prompt when used
with update-pce.
--pce string PCE to use in command if not using
default PCE.
--update-pce Command will update the PCE after a
single user prompt. Default
will just log potentially
changes to workloads.
--verbose When verbose is enabled, include the
raw API responses.
This makes pcemigrate.log increase
in size significantly.