mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2026-03-20 03:39:31 +00:00
Compare commits
16 Commits
OLS-849-ad
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5aba2c37f3 | ||
|
|
3fda75b7db | ||
|
|
f2a9d622e9 | ||
|
|
f172a3630e | ||
|
|
2c2a8810c8 | ||
|
|
ab89f53750 | ||
|
|
a109852c33 | ||
|
|
23bc815936 | ||
|
|
7bca1f897a | ||
|
|
429bf9eb87 | ||
|
|
e0d69521d5 | ||
|
|
c7a8f2e727 | ||
|
|
68c6e98fb0 | ||
|
|
b6996ce24d | ||
|
|
2711412306 | ||
|
|
f11d7d8181 |
@@ -282,6 +282,7 @@ properties:
|
||||
- IP-ACL
|
||||
- Guest-VLAN
|
||||
- Storm-Control
|
||||
- Access-Lockout
|
||||
# Services
|
||||
- Service-SSH
|
||||
- Service-RSSH
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"major": 4,
|
||||
"minor": 1,
|
||||
"patch": 0
|
||||
"major": 5,
|
||||
"minor": 0,
|
||||
"patch": 0
|
||||
}
|
||||
|
||||
@@ -25,6 +25,13 @@ properties:
|
||||
type: string
|
||||
examples:
|
||||
- cloud_uplink_port
|
||||
autoneg:
|
||||
description:
|
||||
Controls whether link autonegotiation is enabled.
|
||||
When set to true, the switch negotiates speed and duplex with the link partner.
|
||||
When set to false, the configured speed and duplex values are forced.
|
||||
type: boolean
|
||||
default: true
|
||||
speed:
|
||||
description:
|
||||
The link speed that shall be forced.
|
||||
@@ -537,3 +544,113 @@ properties:
|
||||
minimum: 0
|
||||
default: 0
|
||||
description: Maximum allowed unknown unicast packets per second. 0 disables unknown unicast storm control.
|
||||
qos-priority-mapping:
|
||||
type: object
|
||||
description: Interface-level QoS priority mapping configuration. Defines how ingress packet
|
||||
markings (IP Precedence, CoS, DSCP) are interpreted and mapped to internal
|
||||
per-hop behavior (PHB), drop precedence, and egress queue selection.
|
||||
properties:
|
||||
priority-untagged:
|
||||
type: integer
|
||||
description: Sets the default priority for incoming untagged Ethernet frames.
|
||||
minimum: 0
|
||||
maximum: 7
|
||||
qos-map-trust-mode:
|
||||
type: string
|
||||
description: Determines which packet header field is trusted for ingress classification.
|
||||
enum:
|
||||
- cos
|
||||
- dscp
|
||||
- ip-precedence
|
||||
qos-map-ipprec2dscp:
|
||||
type: array
|
||||
description: Maps IP Precedence values (0–7) in ingress packets to per-hop behavior (PHB)
|
||||
and drop precedence. Used when trust mode is set to ip-precedence.
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
preced:
|
||||
type: integer
|
||||
description: IP Precedence value in the incoming packet.
|
||||
minimum: 0
|
||||
maximum: 7
|
||||
phb:
|
||||
type: integer
|
||||
description: Per-hop behavior (PHB) assigned to this IP Precedence.
|
||||
minimum: 0
|
||||
maximum: 63
|
||||
drop-preced:
|
||||
type: string
|
||||
description: Drop precedence assigned for congestion control.
|
||||
enum:
|
||||
- green
|
||||
- yellow
|
||||
- red
|
||||
qos-map-cos2dscp:
|
||||
type: array
|
||||
description: Maps CoS/CFI values in ingress packets to PHB and drop precedence.
|
||||
Applied when trust mode is set to cos.
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
cos:
|
||||
type: integer
|
||||
description: CoS value extracted from ingress frames.
|
||||
minimum: 0
|
||||
maximum: 7
|
||||
cfi:
|
||||
type: integer
|
||||
description: Canonical Format Indicator (0 or 1).
|
||||
minimum: 0
|
||||
maximum: 1
|
||||
phb:
|
||||
type: integer
|
||||
description: PHB assigned to this CoS/CFI mapping.
|
||||
minimum: 0
|
||||
maximum: 63
|
||||
drop-preced:
|
||||
type: string
|
||||
description: Drop precedence for congestion handling.
|
||||
enum:
|
||||
- green
|
||||
- yellow
|
||||
- red
|
||||
qos-map-dscpmutate:
|
||||
type: array
|
||||
description: Maps DSCP values (0–63) in ingress packets to custom PHB and drop precedence.
|
||||
Used when trust mode is set to dscp.
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
dscp:
|
||||
type: integer
|
||||
description: DSCP value from the IP header.
|
||||
minimum: 0
|
||||
maximum: 63
|
||||
phb:
|
||||
type: integer
|
||||
description: PHB derived from DSCP-to-internal-priority mapping.
|
||||
minimum: 0
|
||||
maximum: 63
|
||||
drop-preced:
|
||||
type: string
|
||||
description: Drop precedence classification for congestion.
|
||||
enum:
|
||||
- green
|
||||
- yellow
|
||||
- red
|
||||
qos-map-phb2queue:
|
||||
type: array
|
||||
description: Maps PHB to output hardware queues for traffic scheduling.
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
phb:
|
||||
type: integer
|
||||
description: Per-hop behavior value (internal priority).
|
||||
minimum: 0
|
||||
maximum: 63
|
||||
queue-id:
|
||||
type: integer
|
||||
description: Hardware queue ID chosen for this PHB.
|
||||
minimum: 0
|
||||
|
||||
@@ -476,6 +476,10 @@ properties:
|
||||
description: This section defines the MC-LAG configuration parameters for the switch.
|
||||
type: object
|
||||
properties:
|
||||
global-gateway-mac:
|
||||
description: (Optional) Global Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers
|
||||
type: string
|
||||
format: uc-mac
|
||||
mclag-domains:
|
||||
description: List of MC-LAG domain configurations for the switch.
|
||||
type: array
|
||||
@@ -488,6 +492,40 @@ properties:
|
||||
minimum: 1
|
||||
maximum: 1024
|
||||
default: 1
|
||||
gateway-mac:
|
||||
description:
|
||||
(Optional) Per-domain Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers
|
||||
This MAC address is used as the virtual MAC address for the Layer 3 VLAN Interfaces (Switch Virtual Interfaces or SVIs) across both MCLAG peers
|
||||
type: string
|
||||
format: uc-mac
|
||||
source-ip:
|
||||
description: IPv4 address of the MCLAG keepalive link on the local switch
|
||||
type: string
|
||||
format: ipv4
|
||||
examples:
|
||||
- 192.168.0.5
|
||||
peer-ip:
|
||||
description: IPv4 address of the MCLAG keepalive link on the peer switch
|
||||
type: string
|
||||
format: ipv4
|
||||
examples:
|
||||
- 192.168.0.5
|
||||
system-mac-address:
|
||||
description: (Optional) Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers
|
||||
type: string
|
||||
format: uc-mac
|
||||
keepalive-interval:
|
||||
description: Interval (in seconds) between sending keepalive messages over the peer link to determine if the remote peer is up or down
|
||||
type: integer
|
||||
default: 30
|
||||
minimum: 1
|
||||
maximum: 64
|
||||
session-timeout:
|
||||
description: Time (in seconds) to wait before shutting down an MCLAG session with a remote peer if no keepalive reply is received
|
||||
type: integer
|
||||
default: 50
|
||||
minimum: 1
|
||||
maximum: 64
|
||||
peer-link:
|
||||
description: Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.
|
||||
type: object
|
||||
@@ -552,6 +590,11 @@ properties:
|
||||
- short
|
||||
- long
|
||||
default: long
|
||||
trunk-id:
|
||||
description: Specifies the trunk group ID used as the mclag-group.
|
||||
type: integer
|
||||
minimum: 1
|
||||
maximum: 64
|
||||
system-priority:
|
||||
description: Specifies the system priority used by the switch for LACP negotiations.
|
||||
type: integer
|
||||
@@ -598,6 +641,49 @@ properties:
|
||||
minLength: 1
|
||||
examples:
|
||||
- "A VoIP Phone"
|
||||
intrusion-detection-access-lockout:
|
||||
description: Enables protection against unauthorized login attempts by locking user access
|
||||
after a specified number of failed authentication attempts within a defined period.
|
||||
type: object
|
||||
properties:
|
||||
lockout-attempt-count:
|
||||
description: Number of consecutive failed login attempts allowed before the user account is locked.
|
||||
type: integer
|
||||
minimum: 1
|
||||
lockout-period-seconds:
|
||||
description: Duration (in seconds) for which the user account remains locked after exceeding the failed attempt threshold.
|
||||
type: integer
|
||||
qos-queue-config:
|
||||
type: object
|
||||
description: Global configuration for QoS priority queue scheduling and processing on L2 switches.
|
||||
properties:
|
||||
queue-scheduler-mode:
|
||||
type: string
|
||||
description: Sets the scheduling mode used for processing each of the Class of Service (CoS) priority queues.
|
||||
enum:
|
||||
- strict
|
||||
- wrr
|
||||
- strict-wrr
|
||||
- wfq
|
||||
- dwrr
|
||||
queue-config:
|
||||
type: array
|
||||
description: List of priority queue configurations applied at the global QoS layer.
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
queue-id:
|
||||
type: integer
|
||||
description: Identifier of the priority queue under configuration.
|
||||
minimum: 0
|
||||
queue-weight:
|
||||
type: integer
|
||||
description: Assigns weights to the CoS priority queues when using WRR or hybrid scheduling modes.
|
||||
minimum: 1
|
||||
queue-strict-mode:
|
||||
type: boolean
|
||||
description: Ensures that the highest priority packets are always serviced first, ahead of all other traffic.
|
||||
default: false
|
||||
arp-inspect:
|
||||
$ref: "https://ucentral.io/schema/v1/switch/arp-inspect/"
|
||||
ip-source-guard:
|
||||
@@ -610,4 +696,4 @@ properties:
|
||||
description: Define a global list of dns servers.
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
type: string
|
||||
@@ -187,4 +187,38 @@ properties:
|
||||
description: Total number of topology changes detected.
|
||||
last-topology-change-seconds:
|
||||
type: integer
|
||||
description: Time (in seconds) since the last topology change.
|
||||
description: Time (in seconds) since the last topology change.
|
||||
access-lockout:
|
||||
type: object
|
||||
description: Represents the operational state and statistics of the Intrusion Detection and Access Lockout feature.
|
||||
properties:
|
||||
user-sessions:
|
||||
type: array
|
||||
description: Displays a list of user sessions being tracked for failed login attempts.
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
username:
|
||||
type: string
|
||||
description: The username associated with the login attempts being tracked.
|
||||
source-ip:
|
||||
type: string
|
||||
description: The IP address from which the login attempts originated.
|
||||
failed-attempts:
|
||||
type: integer
|
||||
description: The number of consecutive failed login attempts recorded for this user session.
|
||||
status:
|
||||
type: string
|
||||
description: Indicates whether the user account is currently locked or active.
|
||||
enum:
|
||||
- active
|
||||
- locked
|
||||
last-failed-attempt-time:
|
||||
type: integer
|
||||
description: UNIX timestamp (in seconds) of the most recent failed login attempt.
|
||||
lockout-start-time:
|
||||
type: integer
|
||||
description: UNIX timestamp (in seconds) when the user account was locked.
|
||||
lockout-expiry-time:
|
||||
type: integer
|
||||
description: UNIX timestamp (in seconds) when the lockout period will end and access will be restored.
|
||||
@@ -121,3 +121,81 @@ properties:
|
||||
description:
|
||||
Number of CoA requests that are sent if the NAS is configured to prohibit honoring of CoA-Request or Disconnect-Request packets for the specified session.
|
||||
type: number
|
||||
mclag-state:
|
||||
description:
|
||||
This section describes the global (switch's device) state of the underlying state of MCLAG system.
|
||||
type: object
|
||||
properties:
|
||||
domains:
|
||||
description:
|
||||
holds MCLAG domain state information, including domain ID, role, session status,
|
||||
peer link status, number of interfaces, and interface statuses.
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
mclag-domain:
|
||||
description: Configured domain-id state
|
||||
type: integer
|
||||
minimum: 1
|
||||
maximum: 1024
|
||||
default: 1
|
||||
role:
|
||||
description:
|
||||
Role of the domain (Configured switch's domain-id state)
|
||||
Active means local switch posesses primary control responsibility
|
||||
(handles control protocol exchanges on behalf of the pair and is the default source for any shared virtual MAC addresses if they aren't explicitly configured)
|
||||
Standby means that local switch is the redundant switch that monitors the Active peer, maintains synchronized state information and is ready to take over full control plane responsibility if the Active peer fails.
|
||||
type: string
|
||||
enum:
|
||||
- active
|
||||
- standby
|
||||
session-status:
|
||||
description:
|
||||
Logical status of the underlying MCLAG session between local switch and remote peer switch.
|
||||
The 'up' value shows the underlying session is fully setup.
|
||||
(peers can exchange keepalive messages - if configured, the synchronization is happening and the overall state of link is operational)
|
||||
The 'down' value means the logical session's status is <down> - potentially, peers can't establish a connection between each other;
|
||||
(either through a misconfiguration, a routing problem in the field, or due to keepalive messages not being received)
|
||||
The 'unknown' value means the state cannot be determined (no ports configured, remote peer issues etc)
|
||||
type: string
|
||||
enum:
|
||||
- up
|
||||
- down
|
||||
- unknown
|
||||
peer-link-status:
|
||||
description:
|
||||
Operational state of the physical link(s) directly connecting the two Multi-Chassis Link Aggregation Group (MCLAG) peer switches.
|
||||
type: string
|
||||
enum:
|
||||
- up
|
||||
- down
|
||||
- unknown
|
||||
interface-num:
|
||||
description: Number of MCLAG interfaces configured within current domain id.
|
||||
type: integer
|
||||
interfaces:
|
||||
description: List of configured interfaces statuses (that are part of this domain id)
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
port:
|
||||
description: Port name / identifier.
|
||||
type: string
|
||||
examples:
|
||||
- Ethernet1
|
||||
local-status:
|
||||
description: Represents local port's status.
|
||||
type: string
|
||||
enum:
|
||||
- up
|
||||
- down
|
||||
- unknown
|
||||
remote-status:
|
||||
description: Represents remote peer's port status.
|
||||
type: string
|
||||
enum:
|
||||
- up
|
||||
- down
|
||||
- unknown
|
||||
|
||||
@@ -344,6 +344,7 @@
|
||||
"IP-ACL",
|
||||
"Guest-VLAN",
|
||||
"Storm-Control",
|
||||
"Access-Lockout",
|
||||
"Service-SSH",
|
||||
"Service-RSSH",
|
||||
"Service-Telnet",
|
||||
|
||||
@@ -219,6 +219,11 @@
|
||||
"cloud_uplink_port"
|
||||
]
|
||||
},
|
||||
"autoneg": {
|
||||
"description": "Controls whether link autonegotiation is enabled. When set to true, the switch negotiates speed and duplex with the link partner. When set to false, the configured speed and duplex values are forced.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"speed": {
|
||||
"description": "The link speed that shall be forced.",
|
||||
"type": "integer",
|
||||
@@ -797,6 +802,143 @@
|
||||
"description": "Maximum allowed unknown unicast packets per second. 0 disables unknown unicast storm control."
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-priority-mapping": {
|
||||
"type": "object",
|
||||
"description": "Interface-level QoS priority mapping configuration. Defines how ingress packet markings (IP Precedence, CoS, DSCP) are interpreted and mapped to internal per-hop behavior (PHB), drop precedence, and egress queue selection.",
|
||||
"properties": {
|
||||
"priority-untagged": {
|
||||
"type": "integer",
|
||||
"description": "Sets the default priority for incoming untagged Ethernet frames.",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"qos-map-trust-mode": {
|
||||
"type": "string",
|
||||
"description": "Determines which packet header field is trusted for ingress classification.",
|
||||
"enum": [
|
||||
"cos",
|
||||
"dscp",
|
||||
"ip-precedence"
|
||||
]
|
||||
},
|
||||
"qos-map-ipprec2dscp": {
|
||||
"type": "array",
|
||||
"description": "Maps IP Precedence values (0\u20137) in ingress packets to per-hop behavior (PHB) and drop precedence. Used when trust mode is set to ip-precedence.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"preced": {
|
||||
"type": "integer",
|
||||
"description": "IP Precedence value in the incoming packet.",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "Per-hop behavior (PHB) assigned to this IP Precedence.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"description": "Drop precedence assigned for congestion control.",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-cos2dscp": {
|
||||
"type": "array",
|
||||
"description": "Maps CoS/CFI values in ingress packets to PHB and drop precedence. Applied when trust mode is set to cos.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cos": {
|
||||
"type": "integer",
|
||||
"description": "CoS value extracted from ingress frames.",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"cfi": {
|
||||
"type": "integer",
|
||||
"description": "Canonical Format Indicator (0 or 1).",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "PHB assigned to this CoS/CFI mapping.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"description": "Drop precedence for congestion handling.",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-dscpmutate": {
|
||||
"type": "array",
|
||||
"description": "Maps DSCP values (0\u201363) in ingress packets to custom PHB and drop precedence. Used when trust mode is set to dscp.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dscp": {
|
||||
"type": "integer",
|
||||
"description": "DSCP value from the IP header.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "PHB derived from DSCP-to-internal-priority mapping.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"description": "Drop precedence classification for congestion.",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-phb2queue": {
|
||||
"type": "array",
|
||||
"description": "Maps PHB to output hardware queues for traffic scheduling.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "Per-hop behavior value (internal priority).",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"queue-id": {
|
||||
"type": "integer",
|
||||
"description": "Hardware queue ID chosen for this PHB.",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1343,6 +1485,11 @@
|
||||
"description": "This section defines the MC-LAG configuration parameters for the switch.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"global-gateway-mac": {
|
||||
"description": "(Optional) Global Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers",
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"mclag-domains": {
|
||||
"description": "List of MC-LAG domain configurations for the switch.",
|
||||
"type": "array",
|
||||
@@ -1356,6 +1503,46 @@
|
||||
"maximum": 1024,
|
||||
"default": 1
|
||||
},
|
||||
"gateway-mac": {
|
||||
"description": "(Optional) Per-domain Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers This MAC address is used as the virtual MAC address for the Layer 3 VLAN Interfaces (Switch Virtual Interfaces or SVIs) across both MCLAG peers",
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"source-ip": {
|
||||
"description": "IPv4 address of the MCLAG keepalive link on the local switch",
|
||||
"type": "string",
|
||||
"format": "ipv4",
|
||||
"examples": [
|
||||
"192.168.0.5"
|
||||
]
|
||||
},
|
||||
"peer-ip": {
|
||||
"description": "IPv4 address of the MCLAG keepalive link on the peer switch",
|
||||
"type": "string",
|
||||
"format": "ipv4",
|
||||
"examples": [
|
||||
"192.168.0.5"
|
||||
]
|
||||
},
|
||||
"system-mac-address": {
|
||||
"description": "(Optional) Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers",
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"keepalive-interval": {
|
||||
"description": "Interval (in seconds) between sending keepalive messages over the peer link to determine if the remote peer is up or down",
|
||||
"type": "integer",
|
||||
"default": 30,
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
},
|
||||
"session-timeout": {
|
||||
"description": "Time (in seconds) to wait before shutting down an MCLAG session with a remote peer if no keepalive reply is received",
|
||||
"type": "integer",
|
||||
"default": 50,
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
},
|
||||
"peer-link": {
|
||||
"description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.",
|
||||
"type": "object",
|
||||
@@ -1437,6 +1624,12 @@
|
||||
"default": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"trunk-id": {
|
||||
"description": "Specifies the trunk group ID used as the mclag-group.",
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1505,6 +1698,62 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"intrusion-detection-access-lockout": {
|
||||
"description": "Enables protection against unauthorized login attempts by locking user access after a specified number of failed authentication attempts within a defined period.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lockout-attempt-count": {
|
||||
"description": "Number of consecutive failed login attempts allowed before the user account is locked.",
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"lockout-period-seconds": {
|
||||
"description": "Duration (in seconds) for which the user account remains locked after exceeding the failed attempt threshold.",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-queue-config": {
|
||||
"type": "object",
|
||||
"description": "Global configuration for QoS priority queue scheduling and processing on L2 switches.",
|
||||
"properties": {
|
||||
"queue-scheduler-mode": {
|
||||
"type": "string",
|
||||
"description": "Sets the scheduling mode used for processing each of the Class of Service (CoS) priority queues.",
|
||||
"enum": [
|
||||
"strict",
|
||||
"wrr",
|
||||
"strict-wrr",
|
||||
"wfq",
|
||||
"dwrr"
|
||||
]
|
||||
},
|
||||
"queue-config": {
|
||||
"type": "array",
|
||||
"description": "List of priority queue configurations applied at the global QoS layer.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"queue-id": {
|
||||
"type": "integer",
|
||||
"description": "Identifier of the priority queue under configuration.",
|
||||
"minimum": 0
|
||||
},
|
||||
"queue-weight": {
|
||||
"type": "integer",
|
||||
"description": "Assigns weights to the CoS priority queues when using WRR or hybrid scheduling modes.",
|
||||
"minimum": 1
|
||||
},
|
||||
"queue-strict-mode": {
|
||||
"type": "boolean",
|
||||
"description": "Ensures that the highest priority packets are always serviced first, ahead of all other traffic.",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"arp-inspect": {
|
||||
"type": "object",
|
||||
"description": "Global configuration for ARP Inspection on the switch.",
|
||||
|
||||
@@ -217,6 +217,10 @@
|
||||
"cloud_uplink_port"
|
||||
]
|
||||
},
|
||||
"autoneg": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"speed": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
@@ -704,6 +708,124 @@
|
||||
"default": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-priority-mapping": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"priority-untagged": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"qos-map-trust-mode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"cos",
|
||||
"dscp",
|
||||
"ip-precedence"
|
||||
]
|
||||
},
|
||||
"qos-map-ipprec2dscp": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"preced": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-cos2dscp": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cos": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"cfi": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-dscpmutate": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dscp": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-phb2queue": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"queue-id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1517,6 +1639,10 @@
|
||||
"mclag-config": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"global-gateway-mac": {
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"mclag-domains": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -1528,6 +1654,40 @@
|
||||
"maximum": 1024,
|
||||
"default": 1
|
||||
},
|
||||
"gateway-mac": {
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"source-ip": {
|
||||
"type": "string",
|
||||
"format": "ipv4",
|
||||
"examples": [
|
||||
"192.168.0.5"
|
||||
]
|
||||
},
|
||||
"peer-ip": {
|
||||
"type": "string",
|
||||
"format": "ipv4",
|
||||
"examples": [
|
||||
"192.168.0.5"
|
||||
]
|
||||
},
|
||||
"system-mac-address": {
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"keepalive-interval": {
|
||||
"type": "integer",
|
||||
"default": 30,
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
},
|
||||
"session-timeout": {
|
||||
"type": "integer",
|
||||
"default": 50,
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
},
|
||||
"peer-link": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1597,6 +1757,11 @@
|
||||
"default": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"trunk-id": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1656,6 +1821,53 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"intrusion-detection-access-lockout": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lockout-attempt-count": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"lockout-period-seconds": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-queue-config": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"queue-scheduler-mode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"strict",
|
||||
"wrr",
|
||||
"strict-wrr",
|
||||
"wfq",
|
||||
"dwrr"
|
||||
]
|
||||
},
|
||||
"queue-config": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"queue-id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"queue-weight": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"queue-strict-mode": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"arp-inspect": {
|
||||
"$ref": "#/$defs/switch.arp-inspect"
|
||||
},
|
||||
|
||||
@@ -253,6 +253,11 @@
|
||||
"cloud_uplink_port"
|
||||
]
|
||||
},
|
||||
"autoneg": {
|
||||
"description": "Controls whether link autonegotiation is enabled. When set to true, the switch negotiates speed and duplex with the link partner. When set to false, the configured speed and duplex values are forced.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"speed": {
|
||||
"description": "The link speed that shall be forced.",
|
||||
"type": "integer",
|
||||
@@ -831,6 +836,143 @@
|
||||
"description": "Maximum allowed unknown unicast packets per second. 0 disables unknown unicast storm control."
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-priority-mapping": {
|
||||
"type": "object",
|
||||
"description": "Interface-level QoS priority mapping configuration. Defines how ingress packet markings (IP Precedence, CoS, DSCP) are interpreted and mapped to internal per-hop behavior (PHB), drop precedence, and egress queue selection.",
|
||||
"properties": {
|
||||
"priority-untagged": {
|
||||
"type": "integer",
|
||||
"description": "Sets the default priority for incoming untagged Ethernet frames.",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"qos-map-trust-mode": {
|
||||
"type": "string",
|
||||
"description": "Determines which packet header field is trusted for ingress classification.",
|
||||
"enum": [
|
||||
"cos",
|
||||
"dscp",
|
||||
"ip-precedence"
|
||||
]
|
||||
},
|
||||
"qos-map-ipprec2dscp": {
|
||||
"type": "array",
|
||||
"description": "Maps IP Precedence values (0\u20137) in ingress packets to per-hop behavior (PHB) and drop precedence. Used when trust mode is set to ip-precedence.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"preced": {
|
||||
"type": "integer",
|
||||
"description": "IP Precedence value in the incoming packet.",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "Per-hop behavior (PHB) assigned to this IP Precedence.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"description": "Drop precedence assigned for congestion control.",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-cos2dscp": {
|
||||
"type": "array",
|
||||
"description": "Maps CoS/CFI values in ingress packets to PHB and drop precedence. Applied when trust mode is set to cos.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cos": {
|
||||
"type": "integer",
|
||||
"description": "CoS value extracted from ingress frames.",
|
||||
"minimum": 0,
|
||||
"maximum": 7
|
||||
},
|
||||
"cfi": {
|
||||
"type": "integer",
|
||||
"description": "Canonical Format Indicator (0 or 1).",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "PHB assigned to this CoS/CFI mapping.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"description": "Drop precedence for congestion handling.",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-dscpmutate": {
|
||||
"type": "array",
|
||||
"description": "Maps DSCP values (0\u201363) in ingress packets to custom PHB and drop precedence. Used when trust mode is set to dscp.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dscp": {
|
||||
"type": "integer",
|
||||
"description": "DSCP value from the IP header.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "PHB derived from DSCP-to-internal-priority mapping.",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"drop-preced": {
|
||||
"type": "string",
|
||||
"description": "Drop precedence classification for congestion.",
|
||||
"enum": [
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-map-phb2queue": {
|
||||
"type": "array",
|
||||
"description": "Maps PHB to output hardware queues for traffic scheduling.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"phb": {
|
||||
"type": "integer",
|
||||
"description": "Per-hop behavior value (internal priority).",
|
||||
"minimum": 0,
|
||||
"maximum": 63
|
||||
},
|
||||
"queue-id": {
|
||||
"type": "integer",
|
||||
"description": "Hardware queue ID chosen for this PHB.",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1801,6 +1943,11 @@
|
||||
"description": "This section defines the MC-LAG configuration parameters for the switch.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"global-gateway-mac": {
|
||||
"description": "(Optional) Global Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers",
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"mclag-domains": {
|
||||
"description": "List of MC-LAG domain configurations for the switch.",
|
||||
"type": "array",
|
||||
@@ -1814,6 +1961,46 @@
|
||||
"maximum": 1024,
|
||||
"default": 1
|
||||
},
|
||||
"gateway-mac": {
|
||||
"description": "(Optional) Per-domain Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers This MAC address is used as the virtual MAC address for the Layer 3 VLAN Interfaces (Switch Virtual Interfaces or SVIs) across both MCLAG peers",
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"source-ip": {
|
||||
"description": "IPv4 address of the MCLAG keepalive link on the local switch",
|
||||
"type": "string",
|
||||
"format": "ipv4",
|
||||
"examples": [
|
||||
"192.168.0.5"
|
||||
]
|
||||
},
|
||||
"peer-ip": {
|
||||
"description": "IPv4 address of the MCLAG keepalive link on the peer switch",
|
||||
"type": "string",
|
||||
"format": "ipv4",
|
||||
"examples": [
|
||||
"192.168.0.5"
|
||||
]
|
||||
},
|
||||
"system-mac-address": {
|
||||
"description": "(Optional) Unique MCLAG system MAC address that is assigned to the MCLAG domain on both peers",
|
||||
"type": "string",
|
||||
"format": "uc-mac"
|
||||
},
|
||||
"keepalive-interval": {
|
||||
"description": "Interval (in seconds) between sending keepalive messages over the peer link to determine if the remote peer is up or down",
|
||||
"type": "integer",
|
||||
"default": 30,
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
},
|
||||
"session-timeout": {
|
||||
"description": "Time (in seconds) to wait before shutting down an MCLAG session with a remote peer if no keepalive reply is received",
|
||||
"type": "integer",
|
||||
"default": 50,
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
},
|
||||
"peer-link": {
|
||||
"description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.",
|
||||
"type": "object",
|
||||
@@ -1895,6 +2082,12 @@
|
||||
"default": "long"
|
||||
}
|
||||
}
|
||||
},
|
||||
"trunk-id": {
|
||||
"description": "Specifies the trunk group ID used as the mclag-group.",
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 64
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1963,6 +2156,62 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"intrusion-detection-access-lockout": {
|
||||
"description": "Enables protection against unauthorized login attempts by locking user access after a specified number of failed authentication attempts within a defined period.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lockout-attempt-count": {
|
||||
"description": "Number of consecutive failed login attempts allowed before the user account is locked.",
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"lockout-period-seconds": {
|
||||
"description": "Duration (in seconds) for which the user account remains locked after exceeding the failed attempt threshold.",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"qos-queue-config": {
|
||||
"type": "object",
|
||||
"description": "Global configuration for QoS priority queue scheduling and processing on L2 switches.",
|
||||
"properties": {
|
||||
"queue-scheduler-mode": {
|
||||
"type": "string",
|
||||
"description": "Sets the scheduling mode used for processing each of the Class of Service (CoS) priority queues.",
|
||||
"enum": [
|
||||
"strict",
|
||||
"wrr",
|
||||
"strict-wrr",
|
||||
"wfq",
|
||||
"dwrr"
|
||||
]
|
||||
},
|
||||
"queue-config": {
|
||||
"type": "array",
|
||||
"description": "List of priority queue configurations applied at the global QoS layer.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"queue-id": {
|
||||
"type": "integer",
|
||||
"description": "Identifier of the priority queue under configuration.",
|
||||
"minimum": 0
|
||||
},
|
||||
"queue-weight": {
|
||||
"type": "integer",
|
||||
"description": "Assigns weights to the CoS priority queues when using WRR or hybrid scheduling modes.",
|
||||
"minimum": 1
|
||||
},
|
||||
"queue-strict-mode": {
|
||||
"type": "boolean",
|
||||
"description": "Ensures that the highest priority packets are always serviced first, ahead of all other traffic.",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"arp-inspect": {
|
||||
"$ref": "#/$defs/switch.arp-inspect"
|
||||
},
|
||||
|
||||
@@ -256,6 +256,53 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"access-lockout": {
|
||||
"type": "object",
|
||||
"description": "Represents the operational state and statistics of the Intrusion Detection and Access Lockout feature.",
|
||||
"properties": {
|
||||
"user-sessions": {
|
||||
"type": "array",
|
||||
"description": "Displays a list of user sessions being tracked for failed login attempts.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"username": {
|
||||
"type": "string",
|
||||
"description": "The username associated with the login attempts being tracked."
|
||||
},
|
||||
"source-ip": {
|
||||
"type": "string",
|
||||
"description": "The IP address from which the login attempts originated."
|
||||
},
|
||||
"failed-attempts": {
|
||||
"type": "integer",
|
||||
"description": "The number of consecutive failed login attempts recorded for this user session."
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"description": "Indicates whether the user account is currently locked or active.",
|
||||
"enum": [
|
||||
"active",
|
||||
"locked"
|
||||
]
|
||||
},
|
||||
"last-failed-attempt-time": {
|
||||
"type": "integer",
|
||||
"description": "UNIX timestamp (in seconds) of the most recent failed login attempt."
|
||||
},
|
||||
"lockout-start-time": {
|
||||
"type": "integer",
|
||||
"description": "UNIX timestamp (in seconds) when the user account was locked."
|
||||
},
|
||||
"lockout-expiry-time": {
|
||||
"type": "integer",
|
||||
"description": "UNIX timestamp (in seconds) when the lockout period will end and access will be restored."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
@@ -389,6 +436,92 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mclag-state": {
|
||||
"description": "This section describes the global (switch's device) state of the underlying state of MCLAG system.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"domains": {
|
||||
"description": "holds MCLAG domain state information, including domain ID, role, session status, peer link status, number of interfaces, and interface statuses.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mclag-domain": {
|
||||
"description": "Configured domain-id state",
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 1024,
|
||||
"default": 1
|
||||
},
|
||||
"role": {
|
||||
"description": "Role of the domain (Configured switch's domain-id state) Active means local switch posesses primary control responsibility (handles control protocol exchanges on behalf of the pair and is the default source for any shared virtual MAC addresses if they aren't explicitly configured) Standby means that local switch is the redundant switch that monitors the Active peer, maintains synchronized state information and is ready to take over full control plane responsibility if the Active peer fails.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"active",
|
||||
"standby"
|
||||
]
|
||||
},
|
||||
"session-status": {
|
||||
"description": "Logical status of the underlying MCLAG session between local switch and remote peer switch. The 'up' value shows the underlying session is fully setup. (peers can exchange keepalive messages - if configured, the synchronization is happening and the overall state of link is operational) The 'down' value means the logical session's status is <down> - potentially, peers can't establish a connection between each other; (either through a misconfiguration, a routing problem in the field, or due to keepalive messages not being received) The 'unknown' value means the state cannot be determined (no ports configured, remote peer issues etc)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"up",
|
||||
"down",
|
||||
"unknown"
|
||||
]
|
||||
},
|
||||
"peer-link-status": {
|
||||
"description": "Operational state of the physical link(s) directly connecting the two Multi-Chassis Link Aggregation Group (MCLAG) peer switches.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"up",
|
||||
"down",
|
||||
"unknown"
|
||||
]
|
||||
},
|
||||
"interface-num": {
|
||||
"description": "Number of MCLAG interfaces configured within current domain id.",
|
||||
"type": "integer"
|
||||
},
|
||||
"interfaces": {
|
||||
"description": "List of configured interfaces statuses (that are part of this domain id)",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"port": {
|
||||
"description": "Port name / identifier.",
|
||||
"type": "string",
|
||||
"examples": [
|
||||
"Ethernet1"
|
||||
]
|
||||
},
|
||||
"local-status": {
|
||||
"description": "Represents local port's status.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"up",
|
||||
"down",
|
||||
"unknown"
|
||||
]
|
||||
},
|
||||
"remote-status": {
|
||||
"description": "Represents remote peer's port status.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"up",
|
||||
"down",
|
||||
"unknown"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user