bug 12869: network page - add guest network dialog - network offerings dropdown - populate Isolated networks with SourceNat service and specifyvlan is false.

This commit is contained in:
Jessica Wang 2012-01-30 14:18:24 -08:00
parent fac99b23dc
commit 09dc843a64
1 changed files with 6 additions and 5 deletions

View File

@ -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;