-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13404/
-----------------------------------------------------------

Review request for cloudstack, Alena Prokharchyk, Alex Huang, Chip Childers, 
and Kelven Yang.


Bugs: CLOUDSTACK-3609


Repository: cloudstack-git


Description
-------

Remove unused vmware global config parameters from db after upgrade from 4.1 to 
4.2.


Diffs
-----

  setup/db/db/schema-410to420.sql 8e2feda 

Diff: https://reviews.apache.org/r/13404/diff/


Testing
-------

Before upgrade (when at 4.1.2) :

mysql> select * from version;
+----+---------+---------------------+----------+
| id | version | updated             | step     |
+----+---------+---------------------+----------+
|  1 | 4.0.0   | 2013-08-07 13:04:04 | Complete |
|  2 | 4.1.0   | 2013-08-07 20:05:41 | Complete |
|  3 | 4.1.1   | 2013-08-07 20:05:41 | Complete |
|  4 | 4.1.2   | 2013-08-07 20:05:41 | Complete |
+----+---------+---------------------+----------+
4 rows in set (0.00 sec)

mysql> select * from configuration where name LIKE "%vmware.%.vswitch%";
+----------+----------+-------------------+--------------------------+-------+----------------------------------------------------------------+
| category | instance | component         | name                     | value | 
description                                                    |
+----------+----------+-------------------+--------------------------+-------+----------------------------------------------------------------+
| Hidden   | DEFAULT  | management-server | vmware.guest.vswitch     | NULL  | 
Specify the vSwitch on host for guest network                  |
| Hidden   | DEFAULT  | management-server | vmware.private.vswitch   | NULL  | 
Specify the vSwitch on host for private network                |
| Hidden   | DEFAULT  | management-server | vmware.public.vswitch    | NULL  | 
Specify the vSwitch on host for public network                 |
| Network  | DEFAULT  | management-server | vmware.use.nexus.vswitch | false | 
Enable/Disable Cisco Nexus 1000v vSwitch in VMware environment |
+----------+----------+-------------------+--------------------------+-------+----------------------------------------------------------------+
4 rows in set (0.00 sec)

mysql>


After upgrade to 4.2:


mysql> select * from version;
+----+---------+---------------------+----------+
| id | version | updated             | step     |
+----+---------+---------------------+----------+
|  1 | 4.0.0   | 2013-08-07 13:04:04 | Complete |
|  2 | 4.1.0   | 2013-08-07 20:05:41 | Complete |
|  3 | 4.1.1   | 2013-08-07 20:05:41 | Complete |
|  4 | 4.1.2   | 2013-08-07 20:05:41 | Complete |
|  5 | 4.2.0   | 2013-08-07 20:16:12 | Complete |
+----+---------+---------------------+----------+
5 rows in set (0.00 sec)

mysql> select * from configuration where name LIKE "%vmware.%.vswitch%";
+----------+----------+-------------------+--------------------------+-------+----------------------------------------------------------------+
| category | instance | component         | name                     | value | 
description                                                    |
+----------+----------+-------------------+--------------------------+-------+----------------------------------------------------------------+
| Network  | DEFAULT  | management-server | vmware.use.nexus.vswitch | false | 
Enable/Disable Cisco Nexus 1000v vSwitch in VMware environment |
+----------+----------+-------------------+--------------------------+-------+----------------------------------------------------------------+
1 row in set (0.00 sec)

mysql>


Thanks,

Venkata Siva Vijayendra Bhamidipati

Reply via email to