From 77b6ab3d86cdddee1d31646b9039acff6e4c51c9 Mon Sep 17 00:00:00 2001 From: Suryya Jana <75422756+SuryyaKrJana@users.noreply.github.com> Date: Wed, 6 Nov 2024 13:23:45 +0530 Subject: [PATCH] Support of Simulated Topology for test ports to be advertised by IGP ( ISIS ) (#327) * simulated topology model * Model ST topology support * Update auto generated content * restoring order of x-filed-uid * Update auto generated content * Introduced external simulated link * Update auto generated content * Update auto generated content * Update auto generated content * Model modified to require only single new connection type . Added new concept of primary and secondary simmulated_link to minimize configuration task in default scenario. Made mac optional for Ethernet is general with documentation added to guide validation via implementation for non simulated_link use-cases instead of via model. * Update auto generated content * Removed IsisInterface.ExternalNeighbor which should not be needed after modifying the model. * Update auto generated content * Update auto generated content * Update auto generated content * Update auto generated content --------- Co-authored-by: Github Actions Bot Co-authored-by: Apratim Mukherjee --- artifacts/openapi.html | 6 +-- artifacts/openapi.yaml | 78 ++++++++++++++++++++++++++++------ artifacts/otg.proto | 87 +++++++++++++++++++++++++++++++++----- device/device.yaml | 4 +- device/ethernet.yaml | 61 ++++++++++++++++++++++---- device/isis/interface.yaml | 8 +++- 6 files changed, 207 insertions(+), 37 deletions(-) diff --git a/artifacts/openapi.html b/artifacts/openapi.html index c53b9cee..7ee9c551 100644 --- a/artifacts/openapi.html +++ b/artifacts/openapi.html @@ -554,9 +554,9 @@

Responses

Request samples

Content type
application/json
{
  • "ports": [
    ],
  • "lags": [
    ],
  • "layer1": [
    ],
  • "captures": [
    ],
  • "devices": [
    ],
  • "flows": [
    ],
  • "events": {
    },
  • "options": {
    },
  • "lldp": [
    ]
}

Response samples

Content type
application/json
{
  • "warnings": [
    ]
}

get_config

Responses

Request samples

Content type
application/json
{
  • "ports": [
    ],
  • "lags": [
    ],
  • "layer1": [
    ],
  • "captures": [
    ],
  • "devices": [
    ],
  • "flows": [
    ],
  • "events": {
    },
  • "options": {
    },
  • "lldp": [
    ]
}

Response samples

Content type
application/json
{
  • "warnings": [
    ]
}

get_config

Responses

Response samples

Content type
application/json
{
  • "ports": [
    ],
  • "lags": [
    ],
  • "layer1": [
    ],
  • "captures": [
    ],
  • "devices": [
    ],
  • "flows": [
    ],
  • "events": {
    },
  • "options": {
    },
  • "lldp": [
    ]
}

update_config

Updates specific attributes of resources configured on the traffic generator. The fetched configuration shall reflect the updates applied successfully. +

Response samples

Content type
application/json
{
  • "ports": [
    ],
  • "lags": [
    ],
  • "layer1": [
    ],
  • "captures": [
    ],
  • "devices": [
    ],
  • "flows": [
    ],
  • "events": {
    },
  • "options": {
    },
  • "lldp": [
    ]
}

update_config

Updates specific attributes of resources configured on the traffic generator. The fetched configuration shall reflect the updates applied successfully. The Response.Warnings in the Success response is available for implementers to disclose additional information about a state change including any implicit changes that are outside the scope of the state change.

Request Body schema: application/json
choice
string
Value: "flows"
object (Flows.Update)

A container of flows with associated properties to be updated without affecting the flows current transmit state.

Responses

Response samples

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