summaryrefslogtreecommitdiff
path: root/ironic/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'ironic/cmd')
-rw-r--r--ironic/cmd/dbsync.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ironic/cmd/dbsync.py b/ironic/cmd/dbsync.py
index e8bf0259b..2525b3d50 100644
--- a/ironic/cmd/dbsync.py
+++ b/ironic/cmd/dbsync.py
@@ -29,6 +29,8 @@ from ironic.common import service
from ironic.conf import CONF
from ironic.db import api as db_api
from ironic.db import migration
+from ironic.objects import port
+from ironic.objects import portgroup
from ironic import version
@@ -64,6 +66,12 @@ dbapi = db_api.get_instance()
ONLINE_MIGRATIONS = (
# TODO(dtantsur): remove when classic drivers are removed (Rocky?)
(dbapi, 'migrate_to_hardware_types'),
+ # Added in Rocky
+ # TODO(rloo): remove in Stein
+ (port, 'migrate_vif_port_id'),
+ # Added in Rocky
+ # TODO(rloo): remove in Stein
+ (portgroup, 'migrate_vif_port_id'),
)