From 803099188923a9c4a0d422ea1bded3103ebe526c Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 6 Dec 2011 10:52:33 -0800 Subject: [PATCH] cloudStack 3.0 new UI - virtual router - network tab - remove faking accounts/instances/volumes, add PortForwarding service. --- ui/scripts/system.js | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 78dee3d115b..cb3fbb76112 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -1102,14 +1102,11 @@ name: { label: 'Name' } }, { - physicalnetworkid: { label: 'ID' }, - state: { label: 'State' } - }, - { - accounts: { label: 'Accounts' }, - instances: { label: 'Instances' }, - volumes: { label: 'Volumes' } - }, + id: { label: 'ID' }, + state: { label: 'State' }, + physicalnetworkid: { label: 'Physical network ID' }, + destinationphysicalnetworkid: { label: 'Destination physical networkID' } + }, { Vpn: { label: 'VPN' }, Dhcp: { label: 'DHCP' }, @@ -1119,16 +1116,14 @@ Lb: { label: 'Load Balancer' }, UserData: { label: 'UserData' }, SourceNat: { label: 'Source NAT' }, - StaticNat: { label: 'Static NAT' } + StaticNat: { label: 'Static NAT' }, + PortForwarding: { label: 'Port Forwarding' } } ], dataProvider: function(args) { args.response.success({ actionFilter: virtualRouterProviderActionFilter, - data: $.extend(true, {}, nspMap["virtualRouter"], { - accounts: 12, - instances: 14, - volumes: 23, + data: $.extend(true, {}, nspMap["virtualRouter"], { Vpn: 'On', Dhcp: 'On', Dns: 'On', @@ -1137,7 +1132,8 @@ Lb: 'On', UserData: 'On', SourceNat: 'On', - StaticNat: 'On' + StaticNat: 'On', + PortForwarding: 'On' }) }); }