Configuring automated overlay network deployment
Configuration restrictions and guidelines
When you configure automated overlay network deployment, follow these restrictions and guidelines:
If the network type is VLAN or VXLAN with a centralized IP gateway, perform this task on both spine node and leaf nodes.
If the network type is VXLAN with distributed IP gateways, perform this task only on leaf nodes.
Make sure the RabbitMQ server settings on the device are the same as those on the controller node.
When you set the RabbitMQ server parameters or remove the settings, make sure the route between the device and the RabbitMQ server is reachable. Otherwise, the CLI does not respond until the TCP connection between the device and the RabbitMQ server is terminated.
For RabbitMQ queues to be correctly created, enable creation of RabbitMQ durable queues on the device if the durable attribute of RabbitMQ queues is set on the Neutron server.
Multiple virtual hosts might exist on the RabbitMQ server. Each virtual host can independently provides RabbitMQ services for the device. For the device to correctly communicate with the Neutron server, specify the same virtual host on the device and the Neutron server.
Configuration procedure
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable Neutron and enter Neutron view. | neutron | By default, Neutron is disabled. |
3. Specify the IPv4 address for the RabbitMQ server. | rabbit host ip ipv4-address [ vpn-instance vpn-instance-name ] | By default, no IPv4 address is specified for the RabbitMQ server. |
4. Configure the username used by the device to establish a connection with the RabbitMQ server. | rabbit user username | By default, the device uses username guest to establish a connection with the RabbitMQ server. |
5. Configure the password used by the device to establish a connection with the RabbitMQ server. | rabbit password { cipher | plain } string | By default, the device uses plaintext password guest to establish a connection with the RabbitMQ server. |
6. Configure the port number used by the device to communicate with the RabbitMQ server. | rabbit port port-number | By default, the device uses port number 5672 to communicate with the RabbitMQ server. |
7. Specify a virtual host to provide RabbitMQ services. | rabbit virtual-host hostname | By default, the virtual host with the name of "/" provides RabbitMQ services for the device. |
8. (Optional.) Enable creation of RabbitMQ durable queues. | rabbit durable-queue enable | By default, RabbitMQ non-durable queues are created. |
9. Specify the username and password used by the device to deploy configurations through RESTful. | restful user username password { cipher | plain } password | By default, no username and password is configured for the device to deploy configurations through RESTful. |
10. (Optional.) Enable the L2 agent. | l2agent enable | By default, the L2 agent is disabled. |
11. (Optional.) Enable the L3 agent. | l3agent enable | By default, the L3 agent is disabled. |
12. (Optional.) Configure export route targets for a tenant VPN instance. | vpn-target target export-extcommunity | By default, no export targets are configured for a tenant VPN instance. |
13. (Optional.) Configure import route targets for a tenant VPN instance. | vpn-target target import-extcommunity | By default, no import route targets are configured for a tenant VPN instance. |
14. (Optional.) Specify the IPv4 address of the border gateway. | gateway ip ipv4-address | By default, the IPv4 address of the border gateway is not specified. |
15. (Optional.) Configure the device as a border node. | border enable | By default, the device is not a border node. |
16. (Optional.) Enable local proxy ARP. | proxy-arp enable | By default, local proxy ARP is disabled. |
17. (Optional.) Configure the MAC address of VSI interfaces. | vsi-mac mac-address | By default, no MAC address is configured for VSI interfaces. |