From 09dc843a64e087f16a80e2229dd75346d487b63c Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 30 Jan 2012 14:18:24 -0800 Subject: [PATCH] bug 12869: network page - add guest network dialog - network offerings dropdown - populate Isolated networks with SourceNat service and specifyvlan is false. --- ui/scripts/network.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 38e5a5ee68f..34a8975ae85 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -154,7 +154,7 @@ add: { label: 'Add guest network', createForm: { - title: 'Add new guest network', + title: 'Add guest network', desc: 'Please specify name and zone for this network; note that network will be isolated and source NAT-enabled.', fields: { name: { label: 'Name', validation: { required: true } }, @@ -191,10 +191,11 @@ select: function(args) { $.ajax({ url: createURL('listNetworkOfferings'), - data: { - supportedServices: 'SourceNat', - type: 'isolated', - state: 'Enabled' + data: { + type: 'Isolated', + supportedServices: 'SourceNat', + specifyvlan: false, + state: 'Enabled' }, success: function(json) { var networkOfferings = json.listnetworkofferingsresponse.networkoffering;