infix icon indicating copy to clipboard operation
infix copied to clipboard

Enable/disable LLDP per port

Open troglobit opened this issue 1 year ago • 1 comments

As of today, Infix can only enable/disable LLDP globally per switch. It is desirable to support more fine-grain control for enable/disable per port, and possibly also for the direction.

LLDP Yang contains an "admin-status" per-port setting for this purpose. The request here is to support this leaf with at least the "tx-and-rx" and "disabled" types, possibly also the "tx-only" and "rx-only" types.

      leaf admin-status {
        type enumeration {
          enum tx-only {
            value 1;
            description
              "Transmit LLDP frames only.";
          }
          enum rx-only {
            value 2;
            description
              "Receive LLDP frames only.";
          }
          enum tx-and-rx {
            value 3;
            description
              "Transmit and Receive LLDP frames.";
          }
          enum disabled {
            value 4;
            description
              "Do Not Transmit or Receive LLDP frames.";
          }
        }
        default "tx-and-rx";
        description
          "Administrative status of the local LLDP agent.";
        reference
          "9.2.5.1 of IEEE Std 802.1AB-2016";
      }

troglobit avatar Aug 22 '24 11:08 troglobit

Team decision: lower priority, not critical atm.

troglobit avatar Aug 22 '24 11:08 troglobit