1
0
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:
Carlos Martín 2014-11-20 16:05:53 +01:00
parent f8c79024ba
commit a1b6ff59a2
2 changed files with 5 additions and 0 deletions

View File

@ -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">\

View File

@ -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"] = "";
}