.. _vyos.rest.vyos_lldp_interfaces_module:
******************************
vyos.rest.vyos_lldp_interfaces
******************************
**Manage LLDP interface configuration on VyOS devices via REST API.**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Manages per-interface LLDP configuration on VyOS devices using the HTTPS REST API.
- Targets VyOS 1.5+ where LLDP interface mode replaces the legacy disable flag.
- For the disable flag used in VyOS 1.3/1.4, see ``vyos.vyos.vyos_lldp_interfaces``.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
List of LLDP interface configurations.
|
|
location
dictionary
|
|
LLDP-MED location data.
|
|
|
coordinate_based
dictionary
|
|
Coordinate-based location.
|
|
|
|
altitude
integer
|
|
Altitude in meters.
|
|
|
|
datum
string
|
Choices:
- WGS84
- NAD83
- MLLW
|
Coordinate datum type.
|
|
|
|
latitude
string
/ required
|
|
Latitude (e.g. 33.524449N).
|
|
|
|
longitude
string
/ required
|
|
Longitude (e.g. 22.267255E).
|
|
|
elin
string
|
|
Emergency Call Service ELIN number (10-25 digits).
|
|
mode
string
|
Choices:
- disable
- rx-tx
- rx
- tx
|
LLDP administrative mode for this interface.
rx-tx sends and receives LLDP frames (device default).
disable disables LLDP on this interface.
rx receives only.
tx transmits only.
|
|
name
string
/ required
|
|
Name of the interface.
|
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
- gathered
|
merged - Merge config with existing LLDP interface settings.
replaced - Replace config for listed interfaces.
overridden - Replace config for all LLDP interfaces.
deleted - Remove listed or all LLDP interface config.
gathered - Read LLDP interface config from device without changes.
|