Skip to content

Commit c8e094d

Browse files
committed
Release-8.3
1 parent 902d412 commit c8e094d

File tree

2 files changed

+63
-15
lines changed

2 files changed

+63
-15
lines changed

articles/operator-nexus/concepts-commit-workflow-v2.md

Lines changed: 47 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,21 @@ With this update, users can lock configuration states, preview device-level chan
1919

2020
Commit Workflow v2 is built around a structured change management flow. The following core features are available:
2121

22-
- **Explicit configuration locking:** Users must explicitly lock the configuration of a Network Fabric resource after making changes. This process ensures updates are applied in a predictable and controlled manner.
22+
- **Explicit configuration locking:**
23+
Users must explicitly lock the configuration of a Network Fabric resource after making changes. This process ensures updates are applied in a predictable and controlled manner.
2324

24-
- **Full device configuration preview:** Enables visibility into the exact configuration that is applied to each device before the commit. This helps validate intent and catch issues early.
25+
- **Full device configuration preview:**
26+
Enables visibility into the exact configuration that is applied to each device before the commit. This helps validate intent and catch issues early.
2527

26-
- **Commit configuration to devices**
28+
- **Commit configuration to devices:**
2729
Once validated, changes can be committed to the devices. This final step applies the locked configuration updates across the fabric.
2830

31+
- **Discard Batch Updates:**
32+
Allows rollback of all uncommitted resource changes to their last known state.
33+
34+
- **Enhanced Constraints:**
35+
Enforces strict update rules during lock/maintenance/upgrade phases for stability.
36+
2937
## Prerequisites
3038

3139
Before using Commit Workflow v2, ensure the following environment requirements are met:
@@ -52,27 +60,51 @@ Before using Commit Workflow v2, ensure the following environment requirements a
5260

5361
Commit Workflow v2 introduces new operational expectations and constraints to ensure consistency and safety in configuration management:
5462

55-
- **Availability & Irreversibility**
63+
### Availability & locking rules
64+
65+
- Available only on Runtime Version 5.0.1+. Downgrade to v1 is not supported.
66+
67+
- Locking is allowed only when:
68+
69+
- No commit is in progress.
70+
71+
- Fabric is not under maintenance or upgrade.
72+
73+
- Fabric is in an administrative enabled state.
74+
75+
### Unsupported during maintenance or upgrade
76+
77+
`Lock`, `ViewDeviceConfiguration`, and `related post-actions` are not allowed during maintenance or upgrade windows.
78+
79+
### Commit Finality
80+
81+
Once committed, changes **can't be rolled back**. Any further edits require a new lock-validate-commit cycle.
82+
83+
### Discard Batch Behavior
84+
85+
- The `discard-commit-batch` operation:
86+
87+
- Reverts all ARM resource changes to their last known good state.
5688

57-
Commit Workflow v2 is only available after upgrading to Runtime Version 5.0.1. Once upgraded, reverting to Commit Workflow v1 is n't supported.
89+
- Updates admin/config states (e.g., external/internal networks become disabled and rejected).
5890

59-
- **Configuration lock requirements**
91+
- Does not delete resources; users must delete them manually if desired.
6092

61-
Locking is only possible when:
93+
- Enables further patching to reapply changes.
6294

63-
- There's no ongoing commit operation.
95+
- When the discard batch action is performed:
6496

65-
- The fabric isn't in maintenance or upgrade mode.
97+
- The administrative state of internal/external network resources moves to disabled and their configuration state to rejected; however, the resources are not deleted automatically. A separate delete operation is required for removal.
6698

67-
- The fabric is in an administrative enabled state.
99+
- Enabled Network Monitor resources attached to a fabric cannot be attached to another fabric unless first detached and committed.
68100

69-
- **Unsupported during maintenance or upgrade**
101+
- For Network Monitor resources in administrative state disabled (in commit queue), discard batch moves the config state to rejected. Users can re-apply updates (PUT/patch) and commit again to enable.
70102

71-
Configuration Lock and View Device Configuration aren't allowed during maintenance or upgrade windows.
103+
### Resource update restrictions
72104

73-
- **Commit is final**
105+
**Post-lock**, only a limited set of `Create`/`Update`/`Delete` (CUD) actions are supported (e.g., unattached ACLs, TAP rules).
74106

75-
Once a configuration is committed, it can't be rolled back. Future changes must go through another lock-commit cycle.
107+
Device-impacting resources (like Network-to-Network Interconnect (NNI), Isolation Domain (ISD), Route Policy, or ACLs attached to parent resources) are blocked during configuration lock.
76108

77109
### Supported resource actions via Commit workflow v2 (when parent resources are in administrative state – Enabled)
78110

@@ -87,7 +119,7 @@ Here's a clear, structured table showing **Supported actions post configuration
87119

88120
---
89121

90-
### **Supported and unsupported actions Post configuration lock**
122+
### **Supported and unsupported actions post configuration lock**
91123

92124
| **Actions** | **Supported resource actions when fabric is under configuration lock** | **Unsupported resource actions when fabric is under configuration lock** |
93125
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

articles/operator-nexus/howto-use-commit-workflow-v2.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,22 @@ az networkfabric fabric view-device-configuration \
8282

8383
- **Post-Device Changes**: Preview of what will be applied after commit
8484

85+
### Step 3a: Discard commit batch (Optional)
86+
87+
After validating with ViewDeviceConfiguration, users may discard pending configuration updates if issues are found. This restores the ARM resource state to its last known good configuration and resets the fabric state from Accepted & Locked to Succeeded.
88+
89+
90+
```Azure CLI
91+
az networkfabric fabric discard-commit-batch \
92+
--resource-group "example-rg" \
93+
--network-fabric-name "example-fabric"
94+
```
95+
96+
> [!Note]
97+
> Internal/External network resources move to Admin State: Disabled and Config State: Rejected.<br>
98+
> Resources are not deleted — user must delete them manually if required.<br>
99+
> Network Monitor handling includes additional constraints (disabled monitors revert to rejected state).<br>
100+
85101
#### Need to Make More Updates?
86102

87103
Unlock the configuration to make further changes, then repeat the lock/validate/commit steps.

0 commit comments

Comments
 (0)