diff --git a/routeros/resource_ip_neighbor_discovery.go b/routeros/resource_ip_neighbor_discovery.go index a5501f62..744d13a3 100644 --- a/routeros/resource_ip_neighbor_discovery.go +++ b/routeros/resource_ip_neighbor_discovery.go @@ -14,7 +14,7 @@ import ( } */ -// https://help.mikrotik.com/docs/display/ROS/MAC+server +// https://help.mikrotik.com/docs/display/ROS/Neighbor+discovery func ResourceIpNeighborDiscoverySettings() *schema.Resource { resSchema := map[string]*schema.Schema{ MetaResourcePath: PropResourcePath("/ip/neighbor/discovery-settings"), @@ -26,6 +26,22 @@ func ResourceIpNeighborDiscoverySettings() *schema.Resource { Description: "Interface list on which members the discovery protocol will run on.", DiffSuppressFunc: AlwaysPresentNotUserProvided, }, + "lldp_mac_phy_config": { + Type: schema.TypeBool, + Optional: true, + Description: "Whether to send MAC/PHY Configuration/Status TLV in LLDP, which indicates the interface " + + "capabilities, current setting of the duplex status, bit rate, and auto-negotiation. Only applies " + + "to the Ethernet interfaces. While TLV is optional in LLDP, it is mandatory when sending LLDP-MED, " + + "meaning this TLV will be included when necessary even though the property is configured as disabled.", + DiffSuppressFunc: AlwaysPresentNotUserProvided, + }, + "lldp_max_frame_size": { + Type: schema.TypeBool, + Optional: true, + Description: "Whether to send Maximum Frame Size TLV in LLDP, which indicates the maximum frame size capability" + + " of the interface in bytes (`l2mtu + 18`). Only applies to the Ethernet interfaces.", + DiffSuppressFunc: AlwaysPresentNotUserProvided, + }, "lldp_med_net_policy_vlan": { Type: schema.TypeString, Optional: true, @@ -44,6 +60,13 @@ func ResourceIpNeighborDiscoverySettings() *schema.Resource { avoid LLDP-MED misconfiguration.`, DiffSuppressFunc: AlwaysPresentNotUserProvided, }, + "lldp_poe_power": { + Type: schema.TypeBool, + Optional: true, + Description: "Two specific TLVs facilitate Power over Ethernet (PoE) management between Power Sourcing " + + "Equipment (PSE) and Powered Devices (PD).", + DiffSuppressFunc: AlwaysPresentNotUserProvided, + }, "mode": { Type: schema.TypeString, Optional: true,