From df4a4a6b2164bfd671f50229a65b87bb7e789cfd Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 9 Aug 2012 16:13:20 -0700 Subject: [PATCH] CS-15913: Add state column to VPN connection listing --- ui/scripts/vpc.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 1529542e91a..d34025a3ab2 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -906,7 +906,14 @@ fields: { publicip: { label: 'label.ip.address' }, gateway: { label: 'label.gateway' }, - cidrlist: { label: 'CIDR list' }, + state: { + label: 'label.state', + indicator: { + 'Connected': 'on', + 'Disconnected': 'off', + 'Error': 'off' + } + }, ipsecpsk: { label: 'IPsec Preshared-Key' }, ikepolicy: { label: 'IKE policy' }, esppolicy: { label: 'ESP policy' } @@ -1012,7 +1019,7 @@ ); } }); - }, + }, notification: { poll: pollAsyncJobResult }