Skip to content

Commit

Permalink
Parsing pci_device and vlan info to ports
Browse files Browse the repository at this point in the history
  • Loading branch information
felipedf committed Apr 18, 2018
1 parent a1a013e commit b3538dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 61 deletions.
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

This file was deleted.

0 comments on commit b3538dd

Please sign in to comment.