NetworkManager/clients/cli
Beniamino Galvani 5b3137984d cli: add command for displaying LLDP neighbors
The list of LLDP neighbors is available through the D-Bus interface
and libnm already provides functions to retrieve it; make the list
available through nmcli as well. Sample output:

  $ nmcli device lldp
  NEIGHBOR[0].DEVICE:                     eth0
  NEIGHBOR[0].CHASSIS-ID:                 00:13:21:58:CA:42
  NEIGHBOR[0].PORT-ID:                    1
  NEIGHBOR[0].PORT-DESCRIPTION:           1
  NEIGHBOR[0].SYSTEM-NAME:                ProCurve Switch 2600-8-PWR
  NEIGHBOR[0].SYSTEM-DESCRIPTION:         ProCurve J8762A Switch 2600-8-PWR, revision H.08.89
  NEIGHBOR[0].SYSTEM-CAPABILITIES:        20 (mac-bridge,router)
  NEIGHBOR[1].DEVICE:                     eth2
  NEIGHBOR[1].CHASSIS-ID:                 00:01:30:F8:AD:A2
  NEIGHBOR[1].PORT-ID:                    1/1
  NEIGHBOR[1].PORT-DESCRIPTION:           Summit300-48-Port 1001
  NEIGHBOR[1].SYSTEM-NAME:                Summit300-48
  NEIGHBOR[1].SYSTEM-DESCRIPTION:         Summit300-48 - Version 7.4e.1 (Build 5)
  NEIGHBOR[1].SYSTEM-CAPABILITIES:        20 (mac-bridge,router)

https://bugzilla.gnome.org/show_bug.cgi?id=757307
2015-11-10 14:06:02 +01:00
..
agent.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: add command for displaying LLDP neighbors 2015-11-10 14:06:02 +01:00
common.h cli: add command for displaying LLDP neighbors 2015-11-10 14:06:02 +01:00
connections.c cli: move unique_connection_name() to common.c as nmc_unique_connection_name() 2015-11-09 16:17:39 +01:00
connections.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
devices.c cli: add command for displaying LLDP neighbors 2015-11-10 14:06:02 +01:00
devices.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
general.c cli: remove static width parameter from fields definition 2015-09-25 12:09:51 +02:00
general.h cli: rename network-manager.[ch] to general.[ch] 2014-10-01 11:53:07 +02:00
Makefile.am build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:10:29 +02:00
nmcli-completion cli: add command for displaying LLDP neighbors 2015-11-10 14:06:02 +01:00
nmcli.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nmcli.h nmcli: add global '--colors' option for controlling color output 2015-02-23 09:24:21 +01:00
polkit-agent.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings-docs.xsl clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
settings.c cli: add addr-gen-mode property 2015-11-02 20:27:00 +01:00
settings.h cli: refactor property to string conversion 2015-06-05 12:26:48 +02:00
utils.c cli: trivial: correct argument description for nmc_parse_args() 2015-10-23 12:28:29 +02:00
utils.h cli: take color name arguments for "nmcli prompt-color" in editor (bgo #744936) 2015-06-11 10:00:54 +02:00