From 0e3856f3f9a0eaf2c647beafa8eab585dace498e Mon Sep 17 00:00:00 2001 From: Vibaswan Date: Tue, 29 Oct 2024 20:17:29 +0530 Subject: [PATCH 1/7] adding information field in get states to support LLDP learned custom TLV information --- result/lldpneighbors.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/result/lldpneighbors.yaml b/result/lldpneighbors.yaml index 8265effa..077e5f7e 100644 --- a/result/lldpneighbors.yaml +++ b/result/lldpneighbors.yaml @@ -184,6 +184,11 @@ components: The organizationally defined subtype field shall contain a unique subtype value assigned by the defining organization. type: string x-field-uid: 3 + information: + description: >- + The organization specific information that is advertised by the neighbor. + type: string + x-field-uid: 4 LldpCapability.State: description: >- From 955d60ee0f1d9606c570b4d28be2481bddabcdc1 Mon Sep 17 00:00:00 2001 From: Github Actions Bot Date: Tue, 29 Oct 2024 14:49:48 +0000 Subject: [PATCH 2/7] Update auto generated content --- artifacts/openapi.html | 4 ++-- artifacts/openapi.yaml | 5 +++++ artifacts/otg.proto | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/artifacts/openapi.html b/artifacts/openapi.html index d723bbc9..57d07b65 100644 --- a/artifacts/openapi.html +++ b/artifacts/openapi.html @@ -604,7 +604,7 @@
object (Ospfv2Lsas.State.Request)

The request to retrieve OSPFv2 Link State Advertisements (LSA) information learned by the routers.

Responses

Request samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": {
    },
  • "ipv6_neighbors": {
    },
  • "bgp_prefixes": {
    },
  • "isis_lsps": {
    },
  • "lldp_neighbors": {
    },
  • "rsvp_lsps": {
    },
  • "dhcpv4_interfaces": {
    },
  • "dhcpv4_leases": {
    },
  • "dhcpv6_interfaces": {
    },
  • "dhcpv6_leases": {
    },
  • "ospfv2_lsas": {
    }
}

Response samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": [
    ],
  • "ipv6_neighbors": [
    ],
  • "bgp_prefixes": [
    ],
  • "isis_lsps": [
    ],
  • "lldp_neighbors": [
    ],
  • "rsvp_lsps": [
    ],
  • "dhcpv4_interfaces": [
    ],
  • "dhcpv4_leases": [
    ],
  • "dhcpv6_interfaces": [
    ],
  • "dhcpv6_leases": [
    ],
  • "ospfv2_lsas": [
    ]
}

get_capture

Request Body schema: application/json

Capture results request to the traffic generator.

+

Request samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": {
    },
  • "ipv6_neighbors": {
    },
  • "bgp_prefixes": {
    },
  • "isis_lsps": {
    },
  • "lldp_neighbors": {
    },
  • "rsvp_lsps": {
    },
  • "dhcpv4_interfaces": {
    },
  • "dhcpv4_leases": {
    },
  • "dhcpv6_interfaces": {
    },
  • "dhcpv6_leases": {
    },
  • "ospfv2_lsas": {
    }
}

Response samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": [
    ],
  • "ipv6_neighbors": [
    ],
  • "bgp_prefixes": [
    ],
  • "isis_lsps": [
    ],
  • "lldp_neighbors": [
    ],
  • "rsvp_lsps": [
    ],
  • "dhcpv4_interfaces": [
    ],
  • "dhcpv4_leases": [
    ],
  • "dhcpv6_interfaces": [
    ],
  • "dhcpv6_leases": [
    ],
  • "ospfv2_lsas": [
    ]
}

get_capture

Request Body schema: application/json

Capture results request to the traffic generator.

port_name
required
string

The name of a port a capture is started on.

x-constraint:

    @@ -616,7 +616,7 @@

Response samples

Content type
application/json
{
  • "api_spec_version": "",
  • "sdk_version": "",
  • "app_version": ""
}