You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2013/12/12 23:31:10 UTC

git commit: updated refs/heads/master to 523d9dc

Updated Branches:
  refs/heads/master b084cc469 -> 523d9dc3c


Resource metadata support for customer gateway


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/523d9dc3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/523d9dc3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/523d9dc3

Branch: refs/heads/master
Commit: 523d9dc3c036bce9f4bb6782ab01b49ce8217f8c
Parents: b084cc4
Author: Alena Prokharchyk <al...@citrix.com>
Authored: Thu Dec 12 14:18:20 2013 -0800
Committer: Alena Prokharchyk <al...@citrix.com>
Committed: Thu Dec 12 14:18:20 2013 -0800

----------------------------------------------------------------------
 setup/db/db/schema-421to430.sql | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/523d9dc3/setup/db/db/schema-421to430.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-421to430.sql b/setup/db/db/schema-421to430.sql
index 6fbe309..0861101 100644
--- a/setup/db/db/schema-421to430.sql
+++ b/setup/db/db/schema-421to430.sql
@@ -848,3 +848,14 @@ CREATE TABLE `cloud`.`s2s_vpn_gateway_details` (
   CONSTRAINT `fk_s2s_vpn_gateway_details__s2s_vpn_gateway_id` FOREIGN KEY `fk_s2s_vpn_gateway_details__s2s_vpn_gateway_id`(`s2s_vpn_gateway_id`) REFERENCES `s2s_vpn_gateway`(`id`) ON DELETE CASCADE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+
+CREATE TABLE `cloud`.`s2s_customer_gateway_details` (
+  `id` bigint unsigned NOT NULL auto_increment,
+  `s2s_customer_gateway_id` bigint unsigned NOT NULL COMMENT 'VPC gateway id',
+  `name` varchar(255) NOT NULL,
+  `value` varchar(1024) NOT NULL,
+  `display` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'True if the detail can be displayed to the end user',
+  PRIMARY KEY (`id`),
+  CONSTRAINT `fk_s2s_customer_gateway_details__s2s_customer_gateway_id` FOREIGN KEY `fk_s2s_customer_gateway_details__s2s_customer_gateway_id`(`s2s_customer_gateway_id`) REFERENCES `s2s_customer_gateway`(`id`) ON DELETE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+