mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - VPC - tier - ACL - add ACL action - add traffic type field (Ingress/Egress).
This commit is contained in:
parent
a3424cf8a0
commit
3bb48742b8
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue