Overview
About SDN
Cloud computing's rapid evolution exposes limitations in traditional network architecture regarding agility, scalability, and operational efficiency. Software-Defined Networking (SDN) addresses this by separating the network control plane from the forwarding plane. This enables centralized, programmatic control and intelligent orchestration of network resources, making it foundational for modern cloud data center networks.
ZStack Cloud deeply integrates SDN capabilities, delivering network solutions ranging from software-based SDN to hardware-based SDN. This integration helps you build and operate cloud networks that are high-performing, highly available, and easier to manage.
Feature Highlights
- Unified Management: Supports multiple software and hardware SDN controller types and delivers a consistent management experience.
- Automated Configuration Deployment: Automatically pushes network configurations to the SDN controller when creating L3 networks, significantly improving deployment efficiency.
- SDN Tenant-Level Resource Isolation: Automatically allocates subnets to target SDN tenants, ensuring resource isolation and preventing resource contention across tenants.
Prerequisites
| Module | SDN License Required | ||
|---|---|---|---|
| SDN Controller | Cloud SDN Controller | No | |
| H3C VCFC | Yes | ||
| HUAWEI | Yes | ||
| L2 Network | Linux Bridge | L2NoVLAN | No |
| L2VLAN | No | ||
| VXLAN | No | ||
| HardwareVXLAN | Yes | ||
| ZNS | L2NoVLAN | No | |
| L2VLAN | No | ||
| L2Geneve | No | ||
| VXLAN Pool | Software SDN | No | |
| Hardware SDN | Yes | ||
Practices
Create a Flat Network Using an H3C SDN Controller
Add an SDN controller to enable ZStack Cloud to manage the SDN network on your hardware switches. This reduces network latency and improves VXLAN performance.
Prerequisites
- Deploy the hardware environment and plan the management network in advance.
- Complete the basic configuration of the SDN controller, including configuring the virtual distributed switch and the VLAN-VXLAN mapping table.
About this task
- Add the SDN controller to ZStack Cloud.
- Create a Hardware-SDN VXLAN pool and attach it to a cluster.
- Create a HardwareVxlanNetwork based on the VXLAN pool.
- Create a flat network using the HardwareVxlanNetwork.
- Create two VM instances (VM-1 and VM-2) using the flat network and ensure they are deployed on different hosts.
- Test the network bandwidth between two VMs to verify the performance of VXLAN network.
Procedure
-
Add the SDN controller to ZStack Cloud.
On the main menu of ZStack Cloud, choose . On the SDN Controller page, click Add SDN Controller. Then, the Add SDN Controller page appears.
On the displayed page, set the following parameters:- Name: Enter a name for the SDN controller.
- Description: Optional. Enter a description.
- Vendor: Select H3C VCFC.
- Version: Select E2507.
- IP Address: Enter the IP address of the SDN controller.
- User Name: Enter the username.
- Password: Enter the password.
- Virtual Distributed Switch UUID: Enter the UUID of the virtual distributed switch.
Note:
- Configure the virtual distributed switch on the SDN controller in advance.
- The virtual distributed switch determines an available range of VNIs for a hardware SDN type VLXAN pool.
Figure 1. Add SDN Controller 
-
Create a Hardware-SDN VXLAN pool and attach it to a cluster.
On the main menu of ZStack Cloud, choose . On the VXLAN Pool page, click Create VXLAN Pool. Then, the Create VXLAN Pool page appears.
On the displayed page, set the following parameters:- Zone: By default, the current zone is displayed.
- Name: Enter a name for the VXLAN pool. The name must be 1 to 128 characters in length and can contain Chinese characters, letters, digits, spaces, hyphens (-), underscores (_), periods (.), parenthesis (), colons (:), and plus signs (+) and cannot begin or end with spaces.
- Description: Optional. Enter a description for the VXLAN pool.
- SDN Type: Select Hardware.
- SDN Controller: Select an SDN controller.
Note: You need add an SDN controller to the cloud platform in advance. - VNI Range: Enter the start ID and end ID of hardware-based VXLAN networks.
Note:
- The end ID must be equal to or greater than the start ID.
- The VNI range of a hardware-SDN VXLAN pool varies depending on the virtual distributed switches associated with the SDN controller.
- This parameter will not be displayed if the vendor of the selected SDN controller is HUAWEI.
- Cluster: Optional. Attach the VXLAN pool to a cluster.
Note: You can attach a cluster to a VXLAN pool when you create the VXLAN pool or after the VXLAN pool is created. - NIC: Enter a host NIC.
Note: The host NICs in the cluster attached to the VXLAN pool must be connected with the switches managed by the SDN controller.
Figure 2. Create Hardware-SDN VXLAN Pool 
-
Create a HardwareVxlanNetwork based on the VXLAN pool.
On the main menu of ZStack Cloud, choose . On the L2 Network page, click Create L2 Network. Then, the Create L2 Network page appears.
On the displayed page, set the following parameters:- Zone: The current zone is displayed.
- Name: Enter a name for the HardwareVxlanNetwork.
- Description: Optional. Enter a description.
- Switch Type: Select Linux Bridge.
- Network Type: Select HardwareVxlanNetwork.
- VXLAN Pool: Select a VXLAN pool of the hardware SDN type.
- VNI: Optional. Select a specified VNI in the VXLAN pool. If not specified, ZStack Cloud allocates a VNI randomly.
Figure 3. Create HardwareVxlanNetwork 
-
Create a flat network using the HardwareVxlanNetwork.
On the main menu of ZStack Cloud, choose . On the Flat Network page, click Create Flat Network. Then, the Create Flat Network page appears.
On the displayed page, set the following parameters:- Name: Enter a name for the flat network.
- Description: Optional. Enter a description.
- L2 Network: Select the HardwareVxlanNetwork you created before.
Note: ZStack Cloud allows you to use an L2 network to create multiple L3 networks. However, we recommend that you do not use an L2 network to create multiple L3 networks if not for specific business needs. - IP Address Management: Choose whether to enable the IP Address Management (IPAM) service for the L3 network. Enable IPAM here.
- Network Address Type: Select IPv4.
- Network Range Method: Select CIDR.
- CIDR: Set a CIDR block for the flat network, for example, 192.168.108.1/24.
- Gateway: Set a gateway for the flat network, for example, 192.168.108.1.
Note:
- We recommend that you use the first or last IP address in the specified CIDR block as the gateway.
- If left blank, the first IP address in the specified CIDR block is used as the gateway.
- DHCP Service: Enable the DHCP service here.
- IP Allocation Policy: Select Random.
- DHCP IP: Set an IP address for the DHCP server.
- DNS:Add a DNS server to provide domain name resolution services for the flat network. You can specify 223.5.5.5, 8.8.8.8, or 114.114.114.114.
Figure 4. Create Flat Network 
-
Create two VM instances (VM-1 and VM-2) using the flat network and ensure they are deployed on different hosts.
Figure 5. VM-1 and VM-2 
-
Test the network bandwidth between two VMs to verify the performance of VXLAN network.
Create a VPC Network Using an HUAWEI SDN Controller
ZStack Cloud works with the HUAWEI SDN controller to provision services. This enables the integrated deployment of your compute and network resources.
Prerequisites
- Supported HUAWEI SDN controller version: HUAWEI iMaster NCE-Fabric V100R023
- Enable LLDP on both the switches and the hosts in advance.
- Before integrating with ZStack Cloud, you must complete the physical network setup and create the basic logical network in the iMaster NCE-Fabric:
- Create the basic network, including creating a Fabric, a tenant, and a VPC and deploying the VPC.
- Create a third-party system access account.
- Configure the available VLAN range.
- A single ZStack Cloud environment can only be integrated with one independent iMaster NCE-Fabric.
- The SDN license must be added to ZStack Cloud and be in a valid state.
Procedure
- Log in to iMaster NCE-Fabric.
-
Add the devices and servers on the network to iMaster NCE-Fabric.
- Click .
- Based on the actual environment, you can choose automatic discovery, registered device discovery, and discovery of third-party devices through import.
Figure 7. Discover Devices 
-
Create a Fabric.
- Click .
- Complete the fabric network configuration and add devices.
Figure 8. Create Fabric 
-
Create a tenant.
- Click .
- Complete the basic information, authorization, and quota configuration.
Figure 9. Create Tenant 
-
Create and deploy a VPC.
-
Create a third-party system access account.
Figure 12. Create Third-Party User 
-
Configure the available VLAN range.
- Click .
- Select VLAN.
- Modify or add the available VLAN range.
Figure 13. Configure Available VLAN 
- Log in to ZStack Cloud.
-
Add a HUAWEI SDN controller.
-
Create a VXLAN Pool.
-
Create a HardwareVxlanNetwork L2 network.
-
Create a logical router.
-
Create a VPC network.
-
Create a VM instance using the VPC network.









