cloudstack 3.0 UI - VPC - tier - ACL - add ACL action - add traffic type field (Ingress/Egress).

This commit is contained in:
Jessica Wang 2012-07-10 18:06:13 -07:00
parent a3424cf8a0
commit 3bb48742b8
1 changed files with 12 additions and 1 deletions

View File

@ -61,13 +61,24 @@
'endport': { edit: true, label: 'label.end.port' },
'icmptype': { edit: true, label: 'ICMP.type', isDisabled: true },
'icmpcode': { edit: true, label: 'ICMP.code', isDisabled: true },
'traffictype' : {
label: 'Traffic type',
select: function(args) {
args.response.success({
data: [
{ name: 'Ingress', description: 'Ingress' },
{ name: 'Egress', description: 'Egress' }
]
});
}
},
'add-rule': {
label: 'label.add.rule',
addButton: true
}
},
add: {
label: 'Add ACL',
label: 'Add',
action: function(args) {
$.ajax({
url: createURL('createNetworkACL'),