Skip to content

Commit 8a16c6d

Browse files
committed
Update concepts-network-fabric-read-write-commands.md
1 parent 5bd2156 commit 8a16c6d

File tree

1 file changed

+50
-8
lines changed

1 file changed

+50
-8
lines changed

articles/operator-nexus/concepts-network-fabric-read-write-commands.md

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ The Status should indicate whether the API succeeded or failed.
150150
},
151151
"systemData": {
152152
"createdAt": "2024-XX-XXT13:41:13.8558264Z",
153-
"createdBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
153+
"createdBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
154154
"createdByType": "Application",
155155
"lastModifiedAt": "2024-XX-XXT10:44:21.3736554Z",
156-
"lastModifiedBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
156+
"lastModifiedBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
157157
"lastModifiedByType": "Application"
158158
},
159159
"type": "microsoft.managednetworkfabric/networkdevices"
@@ -258,10 +258,10 @@ Expected output:
258258
},
259259
"systemData": {
260260
"createdAt": "2024-XX-XXT13:41:13.8558264Z",
261-
"createdBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
261+
"createdBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
262262
"createdByType": "Application",
263263
"lastModifiedAt": "2024-XX-XXT10:44:21.3736554Z",
264-
"lastModifiedBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
264+
"lastModifiedBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
265265
"lastModifiedByType": "Application"
266266
},
267267
"type": "microsoft.managednetworkfabric/networkdevices"
@@ -360,10 +360,10 @@ Expected output:
360360
},
361361
"systemData": {
362362
"createdAt": "2024-XX-XXT13:41:13.8558264Z",
363-
"createdBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
363+
"createdBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
364364
"createdByType": "Application",
365365
"lastModifiedAt": "2024-XX-XXT10:44:21.3736554Z",
366-
"lastModifiedBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
366+
"lastModifiedBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
367367
"lastModifiedByType": "Application"
368368
},
369369
@@ -468,10 +468,10 @@ Expected output:
468468
},
469469
"systemData": {
470470
"createdAt": "2024-XX-XXT13:41:13.8558264Z",
471-
"createdBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
471+
"createdBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
472472
"createdByType": "Application",
473473
"lastModifiedAt": "2024-XX-XXT10:44:21.3736554Z",
474-
"lastModifiedBy": "cbe7d642-9e0a-475d-b2bf-2cb0a9825e13",
474+
"lastModifiedBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
475475
"lastModifiedByType": "Application"
476476
},
477477
"type": "microsoft.managednetworkfabric/networkdevices"
@@ -509,6 +509,48 @@ The RW command feature is open and there are no restrictions on it. However, pro
509509
- It's crucial to thoroughly review the Route Policy configuration before implementation, as any oversight could potentially compromise the existing Route Policy setup.
510510
- Changing the router BGP configuration and shutting it down brings down the stability of the device.
511511

512+
## Retreive runRW configuration
513+
514+
To retrieve the last successfully applied runRW configuration for a given device, perform a GET operation on the device resource.
515+
516+
```rest
517+
az rest -m get -u /subscriptions/<example-subscription-id>/resourceGroups/<example-rg>/providers/Microsoft.ManagedNetworkFabric/NetworkDevices/<example-devicename>?api-version=2024-06-15-preview
518+
```
519+
520+
Expected output
521+
522+
```
523+
{
524+
"id": "/subscriptions/xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device-name",
525+
"location": "uaenorth",
526+
"name": "example-device-name",
527+
"properties": {
528+
"administrativeState": "Enabled",
529+
"configurationState": "DeferredControl",
530+
"hostName": "AR-CE1",
531+
"networkDeviceRole": "CE",
532+
"networkDeviceSku": "DefaultSku",
533+
"networkRackId": "/subscriptions/xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack-name",
534+
"provisioningState": "Succeeded",
535+
"rwDeviceConfig": "interface Ethernet 1/1\n description RW-test1",
536+
"serialNumber": "Arista;CCS-720DT-XXXX;11.07;WTW2248XXXX",
537+
"version": "4.0.0"
538+
},
539+
"systemData": {
540+
"createdAt": "2025-02-23T04:57:13.6113277Z",
541+
"createdBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
542+
"createdByType": "Application",
543+
"lastModifiedAt": "2025-02-27T08:27:46.3818706Z",
544+
"lastModifiedBy": "xxxxxxxx-xxxx-xxxx-xxxxxx",
545+
"lastModifiedByType": "Application"
546+
},
547+
"type": "microsoft.managednetworkfabric/networkdevices"
548+
}
549+
```
550+
551+
> [!Note]
552+
> RW configurations do not persist across upgrades. After an upgrade of Network Fabric, the rwDeviceConfig property will be empty unless the user manually reapplies the RW configuration.
553+
512554
## Limitations
513555

514556
**Common Questions:**

0 commit comments

Comments
 (0)