mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #3175: Remove white/black ports and icmp drop from sunstone
Previous Templates will have this information removed from the NIC if the update wizard is used, see #3424
This commit is contained in:
parent
84bfe1ed15
commit
9816b0ba9e
@ -1577,51 +1577,6 @@ function generate_nic_tab_content(str_nic_tab_id){
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'<br>'+
|
||||
'<fieldset>'+
|
||||
'<legend>'+tr("TCP Firewall")+'</legend>'+
|
||||
'<div class="row">'+
|
||||
'<div class="large-12 columns text-center">'+
|
||||
'<input type="radio" class="tcp_type" name="tcp_type" id="'+str_nic_tab_id+'white_tcp_type" value="WHITE_PORTS_TCP"><label for="'+str_nic_tab_id+'white_tcp_type">' + tr("Whitelist") +'</label>'+
|
||||
'<input type="radio" class="tcp_type" name="tcp_type" id="'+str_nic_tab_id+'black_tcp_type" value="BLACK_PORTS_TCP"><label for="'+str_nic_tab_id+'black_tcp_type">' + tr("Blacklist") +'</label>'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'<div class="row">'+
|
||||
'<div class="large-12 columns">'+
|
||||
'<label for="TCP_PORTS">'+tr("PORTS")+
|
||||
'<span class="tip">'+tr("A list of ports separated by commas or a ranges separated by semicolons, e.g.: 22,80,5900:6000")+'</span>'+
|
||||
'</label>'+
|
||||
'<input type="text" id="TCP_PORTS" name="ports" />'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'</fieldset>'+
|
||||
'<fieldset>'+
|
||||
'<legend>'+tr("UDP Firewall")+'</legend>'+
|
||||
'<div class="row">'+
|
||||
'<div class="large-12 columns text-center">'+
|
||||
'<input type="radio" class="udp_type" name="udp_type" id="'+str_nic_tab_id+'white_udp_type" value="WHITE_PORTS_UDP"><label for="'+str_nic_tab_id+'white_udp_type">' + tr("Whitelist") +'</label>'+
|
||||
'<input type="radio" class="udp_type" name="udp_type" id="'+str_nic_tab_id+'black_udp_type" value="BLACK_PORTS_UDP"><label for="'+str_nic_tab_id+'black_udp_type">' + tr("Blacklist") +'</label>'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'<div class="row">'+
|
||||
'<div class="large-12 columns">'+
|
||||
'<label for="UDP_PORTS">'+tr("PORTS")+
|
||||
'<span class="tip">'+tr("A list of ports separated by commas or a ranges separated by semicolons, e.g.: 22,80,5900:6000")+'</span>'+
|
||||
'</label>'+
|
||||
'<input type="text" id="UDP_PORTS" name="ports" />'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'</fieldset>'+
|
||||
'<fieldset>'+
|
||||
'<legend>'+tr("ICMP")+'</legend>'+
|
||||
'<div class="row">'+
|
||||
'<div class="large-12 columns">'+
|
||||
'<label>'+
|
||||
'<input type="checkbox" name="icmp_type" value="ICMP" id="icmp_type"> '+
|
||||
tr("Drop")+
|
||||
'</label>'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'</fieldset>'+
|
||||
'<fieldset>'+
|
||||
'<legend>'+tr("Security Groups")+'</legend>'+
|
||||
'<div name="str_nic_tab_id" str_nic_tab_id="'+str_nic_tab_id+'">'+
|
||||
|
Loading…
x
Reference in New Issue
Block a user