Skip to content

Commit 155e7ac

Browse files
Merge pull request #245041 from surajmb/nnfazcliupdate-ga
Fixed the rest of the az nf commands to az networkfabric for GA
2 parents a800437 + 9d3a87a commit 155e7ac

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

articles/operator-nexus/how-to-route-policy.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ IP prefixes specify only the match conditions of route policies. They don't spec
9797
This command creates an IP prefix resource with IPv4 prefix rules:
9898

9999
```azurecli
100-
az nf ipprefix create \
100+
az networkfabric ipprefix create \
101101
--resource-group "ResourceGroupName" \
102102
--resource-name "ipprefixv4-1204-cn1" \
103103
--location "eastus" \
@@ -139,7 +139,7 @@ Expected output:
139139
This command creates an IP prefix resource with IPv6 prefix rules,
140140

141141
```azurecli
142-
az nf ipprefix create \
142+
az networkfabric ipprefix create \
143143
--resource-group "ResourceGroupName" \
144144
--resource-name "ipprefixv6-2701-cn1" \
145145
--location "eastus" \
@@ -202,7 +202,7 @@ IP community resource allows operators to manipulate routes based on Community v
202202
This command creates an IP community resource:
203203

204204
```azurecli
205-
az nf ipcommunity create \
205+
az networkfabric ipcommunity create \
206206
--resource-group "ResourceGroupName" \
207207
--resource-name "ipcommunity-2701" \
208208
--location "eastus" \
@@ -248,7 +248,7 @@ Expected output:
248248
This command displays an IP community resource:
249249

250250
```azurecli
251-
az nf ipcommunity show --resource-group "ResourceGroupName" --resource-name "ipcommunity-2701"
251+
az networkfabric ipcommunity show --resource-group "ResourceGroupName" --resource-name "ipcommunity-2701"
252252
253253
```
254254

@@ -303,7 +303,7 @@ The `IPExtendedCommunity`resource allows operators to manipulate routes based o
303303
This command creates an IP extended community resource:
304304

305305
```azurecli
306-
az nf ipextendedcommunity create \
306+
az networkfabric ipextendedcommunity create \
307307
--resource-group "ResourceGroupName" \
308308
--resource-name "ipextcommunity-2701" \
309309
--location "eastus" \
@@ -343,7 +343,7 @@ Expected output:
343343
This command displays an IP extended community resource:
344344

345345
```azurecli
346-
az nf ipextendedcommunity show --resource-group "ResourceGroupName" --resource-name "ipextcommunity-2701"
346+
az networkfabric ipextendedcommunity show --resource-group "ResourceGroupName" --resource-name "ipextcommunity-2701"
347347
```
348348

349349
Expected output:
@@ -409,7 +409,7 @@ Route policy resource enables an operator to specify conditions and actions base
409409
This command creates route policies:
410410

411411
```azurecli
412-
az nf routepolicy create \
412+
az networkfabric routepolicy create \
413413
--resource-group "ResourceGroupName" \
414414
--resource-name "rcf-Fab3-l3domain-v6-connsubnet-ext-policy" \
415415
--location "eastus" \
@@ -498,7 +498,7 @@ Expected output:
498498
This command displays route policies:
499499

500500
```Azurecli
501-
az nf routepolicy show --resource-group "ResourceGroupName" --resource-name "rcf-Fab3-l3domain-v6-connsubnet-ext-policy"
501+
az networkfabric routepolicy show --resource-group "ResourceGroupName" --resource-name "rcf-Fab3-l3domain-v6-connsubnet-ext-policy"
502502
```
503503

504504
Expected output:

articles/operator-nexus/includes/l2-isolation-domain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 01/26/2023
1111
Create an L2 isolation domain:
1212

1313
```azurecli
14-
az nf l2domain create --resource-name "<YourL2IsolationDomainName>" \
14+
az networkfabric l2domain create --resource-name "<YourL2IsolationDomainName>" \
1515
--resource-group "<YourResourceGroupName>" \
1616
--subscription "<YourSubscription>" \
1717
--nf-id "<NetworkFabricResourceId>" \
@@ -23,7 +23,7 @@ Create an L2 isolation domain:
2323
Enable the L2 isolation domain that you created:
2424

2525
```azurecli
26-
az managednetworkfabric l2isolationdomain update-administrative-state \
26+
az networkfabric l2domain update-administrative-state \
2727
--name "<YourL2IsolationDomainName>" \
2828
--resource-group "<YourResourceGroupName>" \
2929
--subscription "<YourSubscription>" \

articles/operator-nexus/includes/l3-isolation-domain.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 01/26/2023
1111
Create an L3 isolation domain:
1212

1313
```azurecli
14-
az nf l3domain create \
14+
az networkfabric l3domain create \
1515
--resource-name "<YourL3IsolationDomainName>" \
1616
--resource-group "<YourResourceGroupName>" \
1717
--subscription "<YourSubscription>" \
@@ -25,7 +25,7 @@ Create an `internalnetwork` resource for every VLAN or subnet that you need to i
2525
> The following example uses the minimal configuration for creating a valid internal network. It doesn't show optional parameters.
2626
2727
```azurecli
28-
az nf internalnetwork create \
28+
az networkfabric internalnetwork create \
2929
--resource-name "<L3IsolationDomainInternalNetworkName>" \
3030
--resource-group "<YourResourceGroupName>" \
3131
--subscription "<YourSubscription>" \
@@ -44,7 +44,7 @@ Repeat, as needed, for any other `internalnetwork` resources that you have to ad
4444
Enable the L3 isolation domain after you've created all `internalnetwork` resources.
4545

4646
```azurecli
47-
az nf l3domain update-admin-state \
47+
az networkfabric l3domain update-admin-state \
4848
--resource-name "<YourL3IsolationDomainName>" \
4949
--resource-group "<YourResourceGroupName>" \
5050
--subscription "<YourSubscription>" \

articles/operator-nexus/reference-customer-edge-provider-edge-connectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ You can use standard BGP (option A). You can also use MP-BGP with inter-as Optio
5353
For MP-BGP make sure you configure matching route targets on both PE and CE.
5454

5555
```azurecli
56-
az nf fabric create \
56+
az networkfabric fabric create \
5757
--resource-group "example-rg" \
5858
--location "eastus" \
5959
--resource-name "example-nf" \

articles/operator-nexus/troubleshoot-aks-hybrid-cluster.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ At a high level, the steps to create isolation domains are:
112112
1. Enable the L3 isolation domain by using the following command:
113113

114114
~~~bash
115-
az nf l3domain update-admin-state --resource-group "RESOURCE_GROUP_NAME" --resource-name "L3ISOLATIONDOMAIN_NAME" --state "Enable"
115+
az networkfabric l3domain update-admin-state --resource-group "RESOURCE_GROUP_NAME" --resource-name "L3ISOLATIONDOMAIN_NAME" --state "Enable"
116116
~~~
117117

118118
It's important to check that the fabric resources achieve an `administrativeState` value of `Enabled`, and that the `provisioningState` value is `Succeeded`. If the `update-admin-state` step is skipped or unsuccessful, the networks can't operate. You can use `show` commands to check the values. For example:
119119

120120
~~~bash
121-
az nf l3domain show -g "example-rg" --resource-name "l2domainname" -o table
122-
az nf l2domain show -g "example-rg" --resource-name "l3domainname" -o table
121+
az networkfabric l3domain show -g "example-rg" --resource-name "l2domainname" -o table
122+
az networkfabric l2domain show -g "example-rg" --resource-name "l3domainname" -o table
123123
~~~
124124

125125
### Network cloud network status is Failed

0 commit comments

Comments
 (0)