incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [2/3] git commit: VPC UI, VPN connections: fix 'DPD' boolean field
Date Thu, 09 Aug 2012 23:15:57 GMT
VPC UI, VPN connections: fix 'DPD' boolean field


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

Branch: refs/heads/vpc
Commit: 241d83aa09bd15e74aade64de9a2cadf3a5d64ba
Parents: 41afde3
Author: Brian Federle <brian.federle@citrix.com>
Authored: Thu Aug 9 16:13:04 2012 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Thu Aug 9 16:15:29 2012 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/241d83aa/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 064e073..1529542 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -1039,7 +1039,12 @@
                       esppolicy: { label: 'ESP policy' },
                       ikelifetime: { label: 'IKE Lifetime (second)' },
                       esplifetime: {label: 'ESP Lifetime(second)' },
-                     // dpd: {label: 'Dead Peer Detection'},
+									    dpd: {
+									      label: 'Dead Peer Detection',
+                        converter: function(str) {
+                          return str ? 'Yes' : 'No';
+                        }
+									    },               
                       state: {label: 'State' },
                       created: { label: 'label.date', converter: cloudStack.converters.toLocalDate
}
                     }


Mime
View raw message