faucetsdn/poseidon

IPv4 and IPv6 fields/values in CLI are wrong

cglewis opened this issue · 1 comments

IPv4 and IPv6 fields/values in CLI are wrong
poseidon$ show all
+--------------+-----------+-----------------------+---------+-----------------+-------------------+
|     IPv4     | IPv4 rDNS |         Role          | IPv4 OS | Ethernet Vendor |    MAC Address    |
|              |           |      (NetworkML)      |  (p0f)  |                 |                   |
+==============+===========+=======================+=========+=================+===================+
| 192.168.0.4  | NO DATA   | Developer workstation | Mac     | Apple           | 0c:4d:e9:ca:be:98 |
+--------------+-----------+-----------------------+---------+-----------------+-------------------+
| 192.168.0.7  | NO DATA   | Developer workstation | Mac     | Apple           | 68:5b:35:c9:76:15 |
+--------------+-----------+-----------------------+---------+-----------------+-------------------+
| 192.168.0.99 | NO DATA   | NO DATA               | NO DATA | Realtek         | 00:e0:4c:68:2a:33 |
+--------------+-----------+-----------------------+---------+-----------------+-------------------+
poseidon$ show all -6
+--------------------------+-----------+-----------------------+---------+-----------------+-------------------+
|           IPv6           | IPv6 rDNS |         Role          | IPv6 OS | Ethernet Vendor |    MAC Address    |
|                          |           |      (NetworkML)      |  (p0f)  |                 |                   |
+==========================+===========+=======================+=========+=================+===================+
| 0                        | NO DATA   | Developer workstation | NO DATA | Apple           | 68:5b:35:c9:76:15 |
+--------------------------+-----------+-----------------------+---------+-----------------+-------------------+
| 0                        | NO DATA   | Developer workstation | NO DATA | Apple           | 0c:4d:e9:ca:be:98 |
+--------------------------+-----------+-----------------------+---------+-----------------+-------------------+
| fe80::2e0:4cff:fe68:2a33 | NO DATA   | NO DATA               | NO DATA | Realtek         | 00:e0:4c:68:2a:33 |
+--------------------------+-----------+-----------------------+---------+-----------------+-------------------+
poseidon$ show all -4and6
+------+--------------+-----------+-----------+-----------------------+---------+---------+-----------------+-------------------+
| IPv6 |     IPv4     | IPv6 rDNS | IPv4 rDNS |         Role          | IPv6 OS | IPv4 OS | Ethernet Vendor |    MAC Address    |
|      |              |           |           |      (NetworkML)      |  (p0f)  |  (p0f)  |                 |                   |
+======+==============+===========+===========+=======================+=========+=========+=================+===================+
| 0    | 192.168.0.99 | NO DATA   | NO DATA   | NO DATA               | NO DATA | NO DATA | Realtek         | 00:e0:4c:68:2a:33 |
+------+--------------+-----------+-----------+-----------------------+---------+---------+-----------------+-------------------+
| 0    | 192.168.0.7  | NO DATA   | NO DATA   | Developer workstation | NO DATA | Mac     | Apple           | 68:5b:35:c9:76:15 |
+------+--------------+-----------+-----------+-----------------------+---------+---------+-----------------+-------------------+
| 0    | 192.168.0.4  | NO DATA   | NO DATA   | Developer workstation | NO DATA | Mac     | Apple           | 0c:4d:e9:ca:be:98 |
+------+--------------+-----------+-----------+-----------------------+---------+---------+-----------------+-------------------+
poseidon$ show all --fields=[ipv6]
+--------------------------+
|           IPv6           |
+==========================+
| 0                        |
+--------------------------+
| 0                        |
+--------------------------+
| fe80::2e0:4cff:fe68:2a33 |
+--------------------------+
poseidon$ show all --fields=[ipv6,ipv4]
+------+--------------+
| IPv6 |     IPv4     |
+======+==============+
| 0    | 192.168.0.99 |
+------+--------------+
| 0    | 192.168.0.7  |
+------+--------------+
| 0    | 192.168.0.4  |
+------+--------------+
poseidon$ show all --fields=[ipv6,mac]
+--------------------------+-------------------+
|           IPv6           |    MAC Address    |
+==========================+===================+
| 0                        | 68:5b:35:c9:76:15 |
+--------------------------+-------------------+
| 0                        | 0c:4d:e9:ca:be:98 |
+--------------------------+-------------------+
| fe80::2e0:4cff:fe68:2a33 | 00:e0:4c:68:2a:33 |
+--------------------------+-------------------+
poseidon$ show all --fields=[ipv4,mac]
+-------------+-------------------+
|    IPv4     |    MAC Address    |
+=============+===================+
| 0           | 00:e0:4c:68:2a:33 |
+-------------+-------------------+
| 192.168.0.4 | 0c:4d:e9:ca:be:98 |
+-------------+-------------------+
| 192.168.0.7 | 68:5b:35:c9:76:15 |
+-------------+-------------------+