Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISIS Tlv Replay #353

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions artifacts/openapi.html

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions artifacts/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions artifacts/otg.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions device/isis/isis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ components:
name:
x-include: ../common/common.yaml#/components/schemas/Named.Object/properties/name
x-field-uid: 9
replay_tlvs:
description: >-
ISIS Tlvs of bytes to be inserted in ISIS Link State PDU that to be advertised by this ISIS Router.
SuryyaKrJana marked this conversation as resolved.
Show resolved Hide resolved
type: array
items:
$ref: './tlvreplay.yaml#/components/schemas/Isis.TlvReplay'
x-field-uid: 10
17 changes: 17 additions & 0 deletions device/isis/tlvreplay.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
components:
schemas:
Isis.TlvReplay:
description: >-
Specification ISIS Tlv Replay Bytes.
type: object
SuryyaKrJana marked this conversation as resolved.
Show resolved Hide resolved
properties:
tlv_bytes:
description: >-
Tlv hex bytes consists of type of one byte, length of one byte and value of length bytes. Therefore the value can be maximum 255 bytes.
SuryyaKrJana marked this conversation as resolved.
Show resolved Hide resolved
The string MUST contains sequence of valid hex bytes. In the imported byte stream, one byte is represented as string of 2 characters, for example 2 character string (0x)AB
represents value of a single byte. So the maximum length of this attribute is 512 (256 * 2 hex characters per byte) plus two, i.e 514.
type: string
pattern: '^[A-Fa-f0-9: ]+$'
minLength: 2
maxLength: 514
x-field-uid: 1
Loading