You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
db: move bigswitch related sqls to schema-451to460.sql
We ought not change older schema migrations, so moved sql statements to the latest
upgrade path.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
`id`bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
290
-
`uuid`varchar(255) UNIQUE,
291
-
`physical_network_id`bigint unsigned NOT NULL COMMENT 'id of the physical network in to which bigswitch bcf device is added',
292
-
`provider_name`varchar(255) NOT NULL COMMENT 'Service Provider name corresponding to this bigswitch bcf device',
293
-
`device_name`varchar(255) NOT NULL COMMENT 'name of the bigswitch bcf device',
294
-
`host_id`bigint unsigned NOT NULL COMMENT 'host id coresponding to the external bigswitch bcf device',
295
-
`hostname`varchar(255) NOT NULL COMMENT 'host name or IP address for the bigswitch bcf device',
296
-
`username`varchar(255) NOT NULL COMMENT 'username for the bigswitch bcf device',
297
-
`password`varchar(255) NOT NULL COMMENT 'password for the bigswitch bcf device',
298
-
`nat`booleanNOT NULL COMMENT 'NAT support for the bigswitch bcf device',
299
-
`hash`varchar(255) NOT NULL COMMENT 'topology hash for the bigswitch bcf networks',
300
-
PRIMARY KEY (`id`),
301
-
CONSTRAINT`fk_external_bigswitch_bcf_devices__host_id`FOREIGN KEY (`host_id`) REFERENCES`host`(`id`) ON DELETE CASCADE,
302
-
CONSTRAINT`fk_external_bigswitch_bcf_devices__physical_network_id`FOREIGN KEY (`physical_network_id`) REFERENCES`physical_network`(`id`) ON DELETE CASCADE
303
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
304
-
305
287
/* As part of the separation of Xen and XenServer, update the column for the network labels */
306
288
ALTERTABLE`cloud`.`physical_network_traffic_types` CHANGE `xen_network_label``xenserver_network_label`varchar(255) COMMENT 'The network name label of the physical device dedicated to this traffic on a XenServer host';
0 commit comments