No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Guide for Interworking Between HUAWEI CloudFabric Solution and Redhat OpenStack

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Testing the OpenStack Platform

Testing the OpenStack Platform

Create cloud host types, images, networks (internal, external, and VLAN networks), and floating IP addresses in the Admin window.

Creating a Network

Create a network on the OpenStack, as shown in the following figures.

Creating an Image

Create an image on the OpenStack, as shown in the following figures.

Creating a Cloud Host Type

Create a cloud host type on the OpenStack, as shown in the following figures.

In the Project window, create instances, security groups, networks (only internal networks), and routers.

Creating a Security Group Policy

Create a security group policy on the OpenStack, as shown in the following figures.

Creating an Instance

Create an instance on the OpenStack, as shown in the following figures.

After the cloud host is created, test the Layer 2 communication of the cloud host.

Creating a Router

Create a router on the OpenStack, as shown in the following figures.

Test the Layer 3 communication of the cloud host.

Configuring the Gateway

Create a gateway on the OpenStack, as shown in the following figures.

NOTE:

After interconnecting with the Agile Controller-DCN, the external network value on the OpenStack must be the same as the external gateway created on the Agile Controller-DCN.

Allocating a Floating IP Address

Allocate a floating IP address to the cloud host on the OpenStack, as shown in the following figures.

Bind the floating IP address.

Run the interface vlanif 1003 command on the gateway switch and configure the IP address.

Ping the gateway vlanif 1003 from the VM.

Test the Layer 2 communication of the cloud host in VXLAN mode.

On the OpenStack platform, check Layer 2 and Layer 3 communication functions, including creating internal and external networks, routers, cloud host types, images, and instances.

Installing the Firewall and VPN Modules (on the Undercloud Node)

  1. Run the following commands on the director node to install the firewall and VPN modules:
    • yum install openstack-neutron-fwaas python-neutron-fwaas

    • yum install openstack-neutron-vpnaas python-neutron-vpnaas

  2. Copy the neutron_fwaas, neutron_fwaas-9.0.0-py2.7.egg-info, neutron_vpnaas, and neutron_vpnaas-9.0.0-py2.7.egg-info packages to /usr/lib/python2.7/site-packages.
  3. Copy the rhel-7-server-rhosp-10.repo file to the /etc/yum.repos.d/ directory on the Controller node.
  4. Modify the file as follows:
    [rhel-7-server-openstack-10-devtools-rpms]
    #metadata_expire = 86400
    baseurl = http://172.24.50.1/rhel/rhosp_zyp/10/devtools
    #baseurl = file:///opt/rhosp_zyp/10/devtools
    name = Red Hat OpenStack Platform 10 Developer Tools for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-openstack-10-optools-rpms]
    #metadata_expire = 86400
    baseurl = http://172.24.50.1/rhel/rhosp_zyp/10/optools
    #baseurl = file:///opt/rhosp_zyp/10/optools
    name = Red Hat OpenStack Platform 10 Operational Tools for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-openstack-10-rpms]
    #metadata_expire = 86400
    baseurl = http://172.24.50.1/rhel/rhosp_zyp/10/basic
    #baseurl = file:///opt/rhosp_zyp/10/basic
    name = Red Hat OpenStack Platform 10 for RHEL 7 (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
    
    [rhel-7-server-openstack-10-tools-rpms]
    #metadata_expire = 86400
    baseurl = http://172.24.50.1/rhel/rhosp_zyp/10/tools
    #baseurl = file:///opt/rhosp_zyp/10/tools
    name = Red Hat OpenStack Platform 10 Tools for RHEL 7 Server (RPMs)
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled = 1
    gpgcheck = 0
  5. Install the firewall and VPN modules.

    yum install openstack-neutron-fwaas python-neutron-fwaas

    yum install openstack-neutron-vpnaas python-neutron-vpnaas

  6. Add the Fwaas and Vpnaas services.
    vi /etc/neutron/neutron.conf
    service_plugins = router,firewall,vpnaas
  7. Configure Fwaas and Vpnaas.
    vi /etc/neutron/fwaas_driver.ini
    driver = neutron_fwaas.services.firewall.fwaas_plugin:FirewallPlugin
    enabled = true
    vi /etc/neutron/neutron_vpnaas.conf
    service_provider = VPN:strongswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
  8. Run the neutron-db-manage upgrade head command on the Controller node to upgrade the firewall and VPN databases.
  9. Enable the firewall and VPN functions in the /etc/openstack-dashboard/local_settings file.
    OPENSTACK_NEUTRON_NETWORK = {
    'enable_distributed_router': False,
    'enable_firewall': True,
    'enable_ha_router': False,
    'enable_lb': False,
    'enable_quotas': True,
    'enable_security_group': True,
    'enable_vpn': True,
    'profile_support': None,
    }
  10. Run the systemctl restart neutron-server command to restart the neutron-server service on the Controller node, and run the systemctl restart httpd command to restart the HTTPD service on the Controller node.
Download
Updated: 2019-03-25

Document ID: EDOC1100072313

Views: 2420

Downloads: 15

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next