Skip to content

Commit b3f1022

Browse files
committed
OSDOCS-12623-update: Added extra parameters to the Ansible migration playbook doc
1 parent 4aa98e0 commit b3f1022

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/nw-ovn-kubernetes-ansible-migration.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ endif::rollback[]
3232
* You logged in to the {hybrid-console} and opened the link:https://console.redhat.com/ansible/ansible-dashboard[Ansible Automation Platform] web console.
3333
* You created a security group rule that allows User Datagram Protocol (UDP) packets on port `6081` for all nodes on all cloud platforms. If you do not do this task, your cluster might fail to schedule pods.
3434
ifndef::rollback[]
35+
* Check if your cluster uses static routes or routing policies in the host network.
36+
** If true, a later procedure step requires that you set the `routingViaHost` parameter to `true` and the `ipForwarding` parameter to `Global` in the `gatewayConfig` section of the `playbooks/playbook-migration.yml` file.
3537
* If the OpenShift-SDN plugin uses the `100.64.0.0/16` and `100.88.0.0/16` address ranges, you patched the address ranges. For more information, see "Patching OVN-Kubernetes address ranges" in the _Additional resources_ section.
3638
endif::rollback[]
3739
@@ -109,6 +111,10 @@ ifndef::rollback[]
109111
migration_egress_ip: false
110112
migration_egress_firewall: false
111113
migration_multicast: false
114+
migration_routing_via_host: true
115+
migration_ip_forwarding: Global
116+
migration_cidr: "10.240.0.0/14"
117+
migration_prefix: 23
112118
migration_mtu: 1400
113119
migration_geneve_port: 6081
114120
migration_ipv4_subnet: "100.64.0.0/16"
@@ -117,6 +123,10 @@ ifndef::rollback[]
117123
+
118124
`migration_interface_name`:: If you use an `NodeNetworkConfigurationPolicy` (NNCP) resource on a primary interface, specify the interface name in the `migration-playbook.yml` file so that the NNCP resource gets deleted on the primary interface during the migration process.
119125
`migration_disable_auto_migration`:: Disables the auto-migration of OpenShift SDN CNI plug-in features to the OVN-Kubernetes plugin. If you disable auto-migration of features, you must also set the `migration_egress_ip`, `migration_egress_firewall`, and `migration_multicast` parameters to `false`. If you need to enable auto-migration of features, set the parameter to `false`.
126+
`migration_routing_via_host`:: Set to `true` to configure local gateway mode or `false` to configure shared gateway mode for nodes in your cluster. The default value is `false`. In local gateway mode, traffic is routed through the host network stack. In shared gateway mode, traffic is not routed through the host network stack.
127+
`migration_ip_forwarding`:: If you configured local gateway mode, set IP forwarding to `Global` if you need the host network of the node to act as a router for traffic not related to OVN-Kubernetes.
128+
`migration_cidr`:: Specifies a Classless Inter-Domain Routing (CIDR) IP address block for your cluster. You cannot use any CIDR block that overlaps the `100.64.0.0/16` CIDR block, because the OVN-Kubernetes network provider uses this block internally.
129+
`migration_prefix`:: Ensure that you specify a prefix value, which is the slice of the CIDR block apportioned to each node in your cluster.
120130
`migration_mtu`:: Optional parameter that sets a specific maximum transmission unit (MTU) to your cluster network after the migration process.
121131
`migration_geneve_port`:: Optional parameter that sets a Geneve port for OVN-Kubernetes. The default port is `6081`.
122132
`migration_ipv4_subnet`:: Optional parameter that sets an IPv4 address range for internal use by OVN-Kubernetes. The default value for the parameter is `100.64.0.0/16`.

0 commit comments

Comments
 (0)