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

git commit: updated refs/heads/master to c090a2d

Updated Branches:
  refs/heads/master 152e23a00 -> c090a2df7


CLOUDSTACK-730: UI > VPC > Router > site-to-site VPN > VPN Connection > Create VPN Connection - add new checkbox "passive", default it as unchecked.


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

Branch: refs/heads/master
Commit: c090a2df7ac45495e85bb6fb16ad987277d37ff1
Parents: 152e23a
Author: Jessica Wang <je...@apache.org>
Authored: Thu Oct 31 11:33:15 2013 -0700
Committer: Jessica Wang <je...@apache.org>
Committed: Thu Oct 31 11:34:53 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c090a2df/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index f25e57d..2dc9162 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -2792,7 +2792,12 @@
                                                     }
                                                 });
                                             }
-                                        }
+                                        },                                        
+                                        passive: {
+                                            label: 'Passive',                                            
+                                            isBoolean: true,
+                                            isChecked: false
+                                        }                                        
                                     }
                                 },
                                 action: function(args) {
@@ -2819,7 +2824,8 @@
                                         url: createURL('createVpnConnection'),
                                         data: {
                                             s2svpngatewayid: vpngatewayid,
-                                            s2scustomergatewayid: args.data.vpncustomergatewayid
+                                            s2scustomergatewayid: args.data.vpncustomergatewayid,
+                                            passive: (args.data.passive == 'on'? true: false)
                                         },
                                         success: function(json) {
                                             var jid = json.createvpnconnectionresponse.jobid;