contrail_api_cli_extra.migration package¶
contrail_api_cli_extra.migration.host_routes module¶
-
class
contrail_api_cli_extra.migration.host_routes.MigrateHostRoutes(name)¶ Bases:
contrail_api_cli_extra.utils.CheckCommand,contrail_api_cli_extra.utils.PathCommandCommand to migrate host-route implementation based on interface-route-tables to route-tables (V3 plugin):
contrail-api-cli --ns contrail_api_cli.migration migrate-host-routes [interface-route-table/uuid]
contrail_api_cli_extra.migration.lb module¶
-
class
contrail_api_cli_extra.migration.lb.MigrateLB22132(name)¶ Bases:
contrail_api_cli.command.CommandCommand to migrate LB created in 2.21 to 3.2.
In 2.21 the admin_state flag didn’t matter, but in 3.2 if it is not set to True the haproxy config file will not be generated.
This command set admin_state to True for all lb-pools, lb-members, lb-vips, lb-hms.
contrail_api_cli_extra.migration.rt module¶
-
class
contrail_api_cli_extra.migration.rt.MigrateRT22132(name)¶ Bases:
contrail_api_cli_extra.utils.CheckCommand,contrail_api_cli_extra.utils.PathCommandCommand to migrate custom RTs from 2.21 to 3.2.
In 3.2 we can benefit from new VN properties that allows to define the list of RTs the VNs must import/export.
contrail_api_cli_extra.migration.si module¶
-
class
contrail_api_cli_extra.migration.si.MigrateSI110221(name)¶ Bases:
contrail_api_cli_extra.utils.CheckCommandMigration command for SI from 1.10 version to 2.21 version