Skip to content

Commit 3a37597

Browse files
authored
Merge pull request #99507 from cragr/cragr-fix-bgp-text
networking/bgp: fix AsciiDoc syntax in BGP routing enable/disable mod…
2 parents 41ead82 + 1d6814a commit 3a37597

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/nw-bgp-routing-disable.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ As a cluster administrator, you can disable BGP routing support for your cluster
2525
+
2626
[source,terminal]
2727
----
28-
$ oc patch network.operator cluster -p '{
29-
"spec": {
30-
"additionalRoutingCapabilities": null
31-
}
28+
$ oc patch Network.operator.openshift.io/cluster --type=merge -p '{
29+
"spec": { "additionalRoutingCapabilities": null }
3230
}'
3331
----

modules/nw-bgp-routing-enable.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ As a cluster administrator, you can enable BGP routing support for your cluster.
2727
+
2828
[source,terminal]
2929
----
30-
$ oc patch network.operator cluster -p '{
30+
$ oc patch Network.operator.openshift.io/cluster --type=merge -p '{
3131
"spec": {
32-
"additionalRoutingCapabilities": ["FRR"]
32+
"additionalRoutingCapabilities": {
33+
"providers": ["FRR"]
34+
}
3335
}
3436
}'
3537
----

0 commit comments

Comments
 (0)