Commit 210fe86
authored
Feat: Created a Network Container Status Section to be updated with the latest error code (#2193)
* Added Network Conatiner Status to include the latest error code for a Network Container
* Updated the crd to have the Status field included into the Network Container
* Updated the names and added Status and ErrorText as two fields in NC Status
* Fixed the casing and json values for these variables
* Added error code to the NC Status and removed the latest prefix from the varibale names
* Removed the timestamp variable from the NC Status
* Moved the Status object inside the NC Status to be able to accurately define the status of each NC for the node
* Changed to having an enum representing the NC Status which DNC-RC will update after inferring the error and CNS can use this field to propagate and NCRequest failures
* Made the validation of the new enum optional to keep it backward compatible1 parent a90a77e commit 210fe86
File tree
2 files changed
+21
-6
lines changed- crd/nodenetworkconfig
- api/v1alpha
- manifests
2 files changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
61 | 70 | | |
62 | 71 | | |
63 | 72 | | |
| |||
108 | 117 | | |
109 | 118 | | |
110 | 119 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
| |||
0 commit comments