Skip to content

Commit

Permalink
Merge pull request #142 from felipedf/add_vlan_info
Browse files Browse the repository at this point in the history
Parsing pci_device and vlan info to ports
  • Loading branch information
rodneyhbrown7 authored Apr 19, 2018
2 parents 1c3f423 + bd45a96 commit 470f5d6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ def parse_physical_port(port)

def parse_logical_port(port)
{
:address => format_mac_address(port["addresses"])
:address => format_mac_address(port["addresses"]),
:vlan_enabled => port["vnicMode"],
:vlan_key => port["logicalPortIndex"],
}
end

Expand Down

0 comments on commit 470f5d6

Please sign in to comment.