mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - VPC - IP Address - PF, LB, EnableStaticNAT dialogbox - tier dropdown - list only tiers that support corresponding service.
This commit is contained in:
parent
695db226af
commit
a8c883ba53
|
|
@ -1271,7 +1271,8 @@
|
|||
async: false,
|
||||
data: {
|
||||
vpcid: args.context.vpc[0].id,
|
||||
listAll: true
|
||||
listAll: true,
|
||||
supportedservices: 'StaticNat'
|
||||
},
|
||||
success: function(json) {
|
||||
var networks = json.listnetworksresponse.network;
|
||||
|
|
@ -2110,7 +2111,8 @@
|
|||
select: function(args) {
|
||||
if('vpc' in args.context) {
|
||||
var data = {
|
||||
listAll: true
|
||||
listAll: true,
|
||||
supportedservices: 'Lb'
|
||||
};
|
||||
if(args.context.ipAddresses[0].associatednetworkid == null) {
|
||||
$.extend(data, {
|
||||
|
|
@ -2121,7 +2123,7 @@
|
|||
$.extend(data, {
|
||||
id: args.context.ipAddresses[0].associatednetworkid
|
||||
});
|
||||
} //???
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: createURL("listNetworks"),
|
||||
|
|
@ -2496,7 +2498,8 @@
|
|||
select: function(args) {
|
||||
if('vpc' in args.context) {
|
||||
var data = {
|
||||
listAll: true
|
||||
listAll: true,
|
||||
supportedservices: 'PortForwarding'
|
||||
};
|
||||
if(args.context.ipAddresses[0].associatednetworkid == null) {
|
||||
$.extend(data, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue