Skip to content

When creating multiple links with lldp_link_config enabled, the API response does not show them both as enabled #8640

@internet-diglett

Description

@internet-diglett

Potential bug identified discovered in oxidecomputer/terraform-provider-oxide#426 (comment)

It was reported that when creating two links with lldp enabled, the API nulls one of the configurations:

  "links": [
    {
      "port_settings_id": "698f4600-0f9d-48d0-ad8b-caf00e7b0e92",
      "link_name": "phy0",
      "mtu": 1500,
      "fec": null,
      "speed": "speed1_g",
      "autoneg": false,
      "lldp_link_config": null,
      "tx_eq_config": null
    },
    {
      "port_settings_id": "698f4600-0f9d-48d0-ad8b-caf00e7b0e92",
      "link_name": "phy1",
      "mtu": 1500,
      "fec": null,
      "speed": "speed10_g",
      "autoneg": false,
      "lldp_link_config": {
        "id": "42f34fbd-6556-4dff-ab4b-e387ed7a761a",
        "enabled": true,
        "link_name": "phy0",
        "link_description": null,
        "chassis_id": null,
        "system_name": null,
        "system_description": null,
        "management_ip": null
      },
      "tx_eq_config": null
    }
  ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions