mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
Feature #4215: Show nic-id for VR nics, CLI and sunstone
This commit is contained in:
parent
4851a0c49f
commit
d4867b44ae
@ -171,6 +171,14 @@ class OneVirtualRouterHelper < OpenNebulaHelper::OneHelper
|
||||
}
|
||||
|
||||
CLIHelper::ShowTable.new(nil, self) do
|
||||
column :ID, "", :size=>3 do |d|
|
||||
if d["DOUBLE_ENTRY"]
|
||||
""
|
||||
else
|
||||
d["NIC_ID"]
|
||||
end
|
||||
end
|
||||
|
||||
column :NETWORK, "", :left, :size=>20 do |d|
|
||||
if d["DOUBLE_ENTRY"]
|
||||
""
|
||||
|
@ -40,6 +40,7 @@
|
||||
<table class="dataTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{tr "ID"}}</th>
|
||||
<th>{{tr "Network"}}</th>
|
||||
<th>{{tr "Floating IP"}}</th>
|
||||
<th>{{tr "Floating IPv6 ULA"}}</th>
|
||||
@ -50,6 +51,7 @@
|
||||
<tbody>
|
||||
{{#each nics}}
|
||||
<tr>
|
||||
<td>{{NIC_ID}}</td>
|
||||
<td>{{NETWORK}}</td>
|
||||
<td>{{valOrDefault IP "--"}}</td>
|
||||
<td>{{valOrDefault IP6_ULA "--"}}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user