You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// It allows a vPCDomain peer to automatically restore vPCDomain operation after detecting
155
-
// that the peer is no longer reachable via keepalive link.
152
+
// AutoRecovery holds settings to automatically restore vPCDomain operation after detecting
153
+
// that the peer is no longer reachable via the keepalive link.
156
154
// +kubebuilder:validation:XValidation:rule="self.enabled ? has(self.reloadDelay) : !has(self.reloadDelay)",message="reloadDelay must be set when enabled and absent when disabled"
157
155
typeAutoRecoverystruct {
158
156
// Enabled indicates whether auto-recovery is enabled.
@@ -162,8 +160,7 @@ type AutoRecovery struct {
162
160
Enabledbool`json:"enabled,omitempty"`
163
161
164
162
// ReloadDelay is the time in seconds (60-3600) to wait before assuming the peer is dead
165
-
// and automatically recovering vPCDomain operation.
166
-
// Must be set when Enabled is true.
163
+
// and automatically attempting to restore the communication with the peer.
167
164
// Maps to: "auto-recovery reload-delay <ReloadDelay>"
168
165
// +optional
169
166
// +kubebuilder:validation:Minimum=60
@@ -177,7 +174,16 @@ type VPCDomainStatus struct {
177
174
// Standard conditions include:
178
175
// - Ready: overall readiness of the vPCDomain domain
179
176
// - Configured: whether the vPCDomain configuration was successfully applied to the device
180
-
// - Operational: whether the vPCDomain domain is operationally up (peer-link and keepalive status)
177
+
// - Operational: whether the vPCDomain domain is operationally up. This condition is true when
178
+
// the status fields `PeerLinkIfOperStatus`, `KeepAliveStatus`, and `PeerStatus` are all set
179
+
// to `UP`.
180
+
// - Degraded: whether the vPCDomain peerlink or the keepalive sessions are in a degraded state.
181
+
//
182
+
// For this Cisco model there is not one single unique operational property that reflects the
183
+
// operational status of the vPC domain. The combination of peer status, keepalive status, and
184
+
// the interface used as peer-link determine the overall health and operational condition of
185
+
// the vPC domain.
186
+
//
181
187
//+listType=map
182
188
//+listMapKey=type
183
189
//+patchStrategy=merge
@@ -190,24 +196,38 @@ type VPCDomainStatus struct {
190
196
DomainIDuint16`json:"domainId,omitempty"`
191
197
192
198
// Role indicates the current operational role of this vPCDomain peer.
193
-
// Possible values:
194
-
// - Primary: This switch is the primary vPCDomain peer (lower role priority or elected)
195
-
// - Secondary: This switch is the secondary vPCDomain peer
196
-
// - Unknown: Role has not been established (e.g., peer-link down, domain not formed)
197
199
// +optional
198
200
RoleVPCDomainRole`json:"role,omitempty"`
199
201
200
-
// KeepaliveStatus indicates the status of the peer via the keepalive link.
202
+
// KeepAliveStatus indicates the status of the peer via the keepalive link.
0 commit comments