mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Feature #3175: New SG protocol "all" in sunstone
This commit is contained in:
parent
f8c79024ba
commit
a1b6ff59a2
@ -33,6 +33,7 @@ function initialize_create_security_group_dialog(dialog){
|
||||
$('.icmp_type_wrapper', dialog).show();
|
||||
break;
|
||||
case "IPSEC":
|
||||
case "ALL":
|
||||
$('.range_row', dialog).hide();
|
||||
$('.icmp_type_wrapper', dialog).hide();
|
||||
break;
|
||||
@ -370,6 +371,7 @@ var create_security_group_wizard_html =
|
||||
<option value="UDP">'+tr("UDP")+'</option>\
|
||||
<option value="ICMP">'+tr("ICMP")+'</option>\
|
||||
<option value="IPSEC">'+tr("IPsec")+'</option>\
|
||||
<option value="ALL">'+tr("All")+'</option>\
|
||||
</select>\
|
||||
</div>\
|
||||
<div class="medium-4 columns icmp_type_wrapper">\
|
||||
|
@ -7048,6 +7048,9 @@ function sg_rule_to_st(rule){
|
||||
case "IPSEC":
|
||||
text["PROTOCOL"] = tr("IPsec");
|
||||
break;
|
||||
case "ALL":
|
||||
text["PROTOCOL"] = tr("All");
|
||||
break;
|
||||
default:
|
||||
text["PROTOCOL"] = "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user