Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions api/cisco/nx/v1alpha1/bordergateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ type BorderGatewayStatus struct {
// +kubebuilder:printcolumn:name="Admin State",type=string,JSONPath=`.spec.adminState`
// +kubebuilder:printcolumn:name="Source Interface",type=string,JSONPath=`.spec.sourceInterfaceRef.name`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// BorderGateway is the Schema for the bordergateways API
Expand Down
1 change: 1 addition & 0 deletions api/cisco/nx/v1alpha1/system_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ type SystemStatus struct {
// +kubebuilder:resource:shortName=nxsystem
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// System is the Schema for the systems API
Expand Down
1 change: 1 addition & 0 deletions api/cisco/nx/v1alpha1/vpcdomain_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ const (
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Configured",type=string,JSONPath=`.status.conditions[?(@.type=="Configured")].status`,priority=1
// +kubebuilder:printcolumn:name="Operational",type=string,JSONPath=`.status.conditions[?(@.type=="Operational")].status`,priority=1
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Peer Status",type=string,JSONPath=`.status.peerStatus`,priority=1
// +kubebuilder:printcolumn:name="Role",type=string,JSONPath=`.status.role`,priority=1
// +kubebuilder:printcolumn:name="Peer Link Interface",type="string",JSONPath=".status.peerLinkIf",priority=1
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/acl_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ type AccessControlListStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Entries",type=string,JSONPath=`.status.entriesSummary`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// AccessControlList is the Schema for the accesscontrollists API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/banner_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ type BannerStatus struct {
// +kubebuilder:printcolumn:name="Type",type=string,JSONPath=`.spec.type`
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// Banner is the Schema for the banners API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/bgp_peer_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ const (
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Configured",type=string,JSONPath=`.status.conditions[?(@.type=="Configured")].status`,priority=1
// +kubebuilder:printcolumn:name="Operational",type=string,JSONPath=`.status.conditions[?(@.type=="Operational")].status`,priority=1
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Session State",type=string,JSONPath=`.status.sessionState`,priority=1
// +kubebuilder:printcolumn:name="Last Established",type="date",JSONPath=`.status.lastEstablishedTime`,priority=1
// +kubebuilder:printcolumn:name="Advertised Prefixes",type=string,JSONPath=`.status.advertisedPrefixesSummary`,priority=1
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/bgp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ type BGPStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Admin State",type=string,JSONPath=`.spec.adminState`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// BGP is the Schema for the bgp API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/certificate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ type CertificateStatus struct {
// +kubebuilder:printcolumn:name="Certificate",type=string,JSONPath=`.spec.id`
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// Certificate is the Schema for the certificates API
Expand Down
6 changes: 3 additions & 3 deletions api/core/v1alpha1/device_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ type DeviceStatus struct {
// +optional
Ports []DevicePort `json:"ports,omitempty"`

// PostSummary shows a summary of the port configured, grouped by type, e.g. "1/4 (10g), 3/64 (100g)".
// PortSummary shows a summary of the port configured, grouped by type, e.g. "1/4 (10g), 3/64 (100g)".
// +optional
PostSummary string `json:"portSummary,omitempty"`
PortSummary string `json:"portSummary,omitempty"`

// The conditions are a list of status objects that describe the state of the Device.
//+listType=map
Expand Down Expand Up @@ -276,9 +276,9 @@ const (
// +kubebuilder:printcolumn:name="SerialNumber",type=string,JSONPath=".status.serialNumber",priority=1
// +kubebuilder:printcolumn:name="FirmwareVersion",type=string,JSONPath=".status.firmwareVersion",priority=1
// +kubebuilder:printcolumn:name="Ports",type=string,JSONPath=".status.portSummary",priority=1
// +kubebuilder:printcolumn:name="Paused",type=boolean,JSONPath=`.spec.paused`,priority=1
// +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// Device is the Schema for the devices API.
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/dns_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ type DNSStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Admin State",type=string,JSONPath=`.spec.adminState`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// DNS is the Schema for the dns API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/evpninstance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ type EVPNInstanceStatus struct {
// +kubebuilder:printcolumn:name="Type",type=string,JSONPath=`.spec.type`
// +kubebuilder:printcolumn:name="Route Distinguisher",type=string,JSONPath=`.spec.routeDistinguisher`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// EVPNInstance is the Schema for the evpninstances API
Expand Down
11 changes: 11 additions & 0 deletions api/core/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ const (
// be calculated by the controller based on child conditions, if present.
ReadyCondition = "Ready"

// PausedCondition indicates whether reconciliation is paused for an object.
// This condition is set to True when the parent Device has spec.paused=true
// or the object has the networking.metal.ironcore.dev/paused annotation.
PausedCondition = "Paused"

// ConfiguredCondition indicates whether the resource has been successfully configured.
// This condition indicates whether the desired configuration has been applied to the device
// (i.e., all necessary API calls succeeded).
Expand All @@ -128,6 +133,12 @@ const (
// NotReadyReason indicates that the resource is not ready for use.
NotReadyReason = "NotReady"

// PausedReason indicates that reconciliation is paused.
PausedReason = "Paused"

// NotPausedReason indicates that reconciliation is not paused.
NotPausedReason = "NotPaused"

// UnreachableReason indicates that the controller cannot reach the device.
UnreachableReason = "Unreachable"

Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/interface_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ type InterfaceStatus struct {
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Configured",type=string,JSONPath=`.status.conditions[?(@.type=="Configured")].status`,priority=1
// +kubebuilder:printcolumn:name="Operational",type=string,JSONPath=`.status.conditions[?(@.type=="Operational")].status`,priority=1
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// Interface is the Schema for the interfaces API.
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/isis_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ type ISISStatus struct {
// +kubebuilder:printcolumn:name="NET",type=string,JSONPath=`.spec.networkEntityTitle`
// +kubebuilder:printcolumn:name="Level",type=string,JSONPath=`.spec.type`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// ISIS is the Schema for the isis API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/lldp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ type LLDPStatus struct {
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Configured",type=string,JSONPath=`.status.conditions[?(@.type=="Configured")].status`,priority=1
// +kubebuilder:printcolumn:name="Operational",type=string,JSONPath=`.status.conditions[?(@.type=="Operational")].status`,priority=1
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// LLDP is the Schema for the lldps API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/managementaccess_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ type ManagementAccessStatus struct {
// +kubebuilder:printcolumn:name="gRPC",type=boolean,JSONPath=`.spec.grpc.enabled`
// +kubebuilder:printcolumn:name="gRPC Port",type=integer,JSONPath=`.spec.grpc.port`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// ManagementAccess is the Schema for the managementaccesses API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/ntp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ type NTPStatus struct {
// +kubebuilder:printcolumn:name="Admin State",type=string,JSONPath=`.spec.adminState`
// +kubebuilder:printcolumn:name="Source Interface",type=string,JSONPath=`.spec.sourceInterfaceName`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// NTP is the Schema for the ntp API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/nve_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ type NetworkVirtualizationEdgeStatus struct {
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Configured",type=string,JSONPath=`.status.conditions[?(@.type=="Configured")].status`,priority=1
// +kubebuilder:printcolumn:name="Operational",type=string,JSONPath=`.status.conditions[?(@.type=="Operational")].status`,priority=1
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Source Interface",type=string,JSONPath=`.status.sourceInterfaceName`
// +kubebuilder:printcolumn:name="Anycast Interface",type=string,JSONPath=`.status.anycastSourceInterfaceName`
// +kubebuilder:printcolumn:name="HostReachability",type=string,JSONPath=`.status.hostReachability`
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/ospf_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ const (
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Configured",type=string,JSONPath=`.status.conditions[?(@.type=="Configured")].status`,priority=1
// +kubebuilder:printcolumn:name="Operational",type=string,JSONPath=`.status.conditions[?(@.type=="Operational")].status`,priority=1
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Adjacencies",type=string,JSONPath=`.status.adjacencySummary`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/pim_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ type PIMStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Admin State",type=string,JSONPath=`.spec.adminState`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// PIM is the Schema for the pim API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/prefixset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ type PrefixSetStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Entries",type=string,JSONPath=`.status.entriesSummary`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// PrefixSet is the Schema for the prefixsets API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/routingpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ type RoutingPolicyStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Statements",type=string,JSONPath=`.status.statementsSummary`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// RoutingPolicy is the Schema for the routingpolicies API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/snmp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ type SNMPStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Source Interface",type=string,JSONPath=`.spec.sourceInterfaceName`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// SNMP is the Schema for the snmp API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/syslog_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ type SyslogStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Servers",type=string,JSONPath=`.status.serversSummary`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// Syslog is the Schema for the syslogs API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/user_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ type UserStatus struct {
// +kubebuilder:printcolumn:name="Username",type=string,JSONPath=`.spec.username`
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// User is the Schema for the users API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/vlan_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ type VLANStatus struct {
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Configured",type=string,JSONPath=`.status.conditions[?(@.type=="Configured")].status`,priority=1
// +kubebuilder:printcolumn:name="Operational",type=string,JSONPath=`.status.conditions[?(@.type=="Operational")].status`,priority=1
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// VLAN is the Schema for the vlans API
Expand Down
1 change: 1 addition & 0 deletions api/core/v1alpha1/vrf_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ type VRFStatus struct {
// +kubebuilder:printcolumn:name="Device",type=string,JSONPath=`.spec.deviceRef.name`
// +kubebuilder:printcolumn:name="Route Distinguisher",type=string,JSONPath=`.spec.routeDistinguisher`,priority=1
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Paused",type=string,JSONPath=`.status.conditions[?(@.type=="Paused")].status`,priority=1
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

// VRF is the Schema for the vrfs API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ spec:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=="Paused")].status
name: Paused
priority: 1
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=="Paused")].status
name: Paused
priority: 1
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ spec:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=="Paused")].status
name: Paused
priority: 1
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ spec:
name: Operational
priority: 1
type: string
- jsonPath: .status.conditions[?(@.type=="Paused")].status
name: Paused
priority: 1
type: string
- jsonPath: .status.sessionState
name: Session State
priority: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ spec:
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=="Paused")].status
name: Paused
priority: 1
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand Down
Loading
Loading