Revision 9af43a69 src/cli/one_helper/onevm_helper.rb
src/cli/one_helper/onevm_helper.rb | ||
---|---|---|
730 | 730 |
nic_default = {"NETWORK" => "-", |
731 | 731 |
"IP" => "-", |
732 | 732 |
"MAC"=> "-", |
733 |
"VLAN"=>"no", |
|
734 | 733 |
"BRIDGE"=>"-"} |
735 | 734 |
|
736 | 735 |
shown_ips = [] |
... | ... | |
782 | 781 |
"NIC_ID" => "-", |
783 | 782 |
"IP" => ip, |
784 | 783 |
"NETWORK" => "Additional IP", |
785 |
"BRIDGE" => "-", |
|
786 |
"VLAN" => "-" |
|
784 |
"BRIDGE" => "-" |
|
787 | 785 |
} |
788 | 786 |
end |
789 | 787 |
|
... | ... | |
804 | 802 |
end |
805 | 803 |
end |
806 | 804 |
|
807 |
column :VLAN, "", :size=>4 do |d| |
|
808 |
if d["DOUBLE_ENTRY"] |
|
809 |
"" |
|
810 |
else |
|
811 |
d["VLAN"].downcase |
|
812 |
end |
|
813 |
end |
|
814 |
|
|
815 | 805 |
column :BRIDGE, "", :left, :size=>12 do |d| |
816 | 806 |
if d["DOUBLE_ENTRY"] |
817 | 807 |
"" |
Also available in: Unified diff