Skip to content

Commit

Permalink
CEM-23123: MTU range in schema 0-9216.
Browse files Browse the repository at this point in the history
Change-Id: I0a37968f3c539d7edae2ef66e2b5c4fbf7795570
Signed-off-by: Sriram Natarajan <[email protected]>
  • Loading branch information
snatarajan18 committed Sep 25, 2021
1 parent cc0ef24 commit 305bc1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions schema/vnc_cfg.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
<xsd:element name="mac-address" maxOccurs="unbounded"/>
</xsd:complexType>

# CEM-23123:MTU value range from 0-9216
<xsd:simpleType name="NetworkMtuType">
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="1500"/>
<xsd:maxInclusive value="9000"/>
<xsd:minInclusive value="0"/>
<xsd:maxInclusive value="9216"/>
</xsd:restriction>
</xsd:simpleType>

Expand Down
4 changes: 2 additions & 2 deletions schema/yaml/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2226,8 +2226,8 @@ definitions:
telemetry monitoring by selecting specific options.
type: object
NetworkMtuType:
maximum: 9000
minimum: 1500
maximum: 9216
minimum: 0
type: integer
NodeProfileRoleType:
properties:
Expand Down

0 comments on commit 305bc1e

Please sign in to comment.