«

»

Nutanix OpenStack Part III – Network Management

This will be the third part of my Nutanix OpenStack blog series and it will cover the OpenStack Neutron network service. The following blog posts has been released so far:

It’s now time to create two networks that can be used by the images we will create later. The first network will not offer DHCP capabilities but the second one will.

Before we start create any network i’ll show you the existing networks in my AHV based Nutanix Cluster. This can be done via e.g. acli or PRISM and acli net.list (which you can run from any available CVM in the Nutanix cluster) gives you the following available networks:

Screen Shot 2016-07-18 at 17.26.02

Important: Do not use a VLAN ID/Identifier that already exists in AHV when creating OpenStack based networks.

Network 1 – VLAN ID 120

Follow the below steps to create a network for Project Customer01 with VLAN ID 120

  • Go to System ->Networks and click Create network
    Screen Shot 2016-07-18 at 17.31.06
  • I provided the following information for this specific network
    • Name = testnet01
    • Project = Customer01
    • Provider Network Type = VLAN
      • Available options at this time are Local and VLAN
    • Physical Network = default
    • Segmentation ID = 120
    • Admin State = Up
    • External = Click the check box
    • Click Create Network
      Screen Shot 2016-07-18 at 17.33.45

Network created successfully and can be displayed in OpenStack UI

Screen Shot 2016-07-18 at 17.39.40

Network 2 – VLAN ID 220 + Subnet

To create a network with IPAM services you follow the steps outlined in section “Network 1 – VLAN ID 120” and then move on with the below steps.

  • Click the Network Name in the Networks Section
  • Click Create Subnet
    Screen Shot 2016-07-18 at 17.45.10
  •  Provide information for the following:
    • Subnet Name = 172.0.1-network
    • Network Address = 172.0.1.0/24
    • IP Version = IPv4
    • Gateway IP = 172.0.1.1(required even if it does not exists)
    • Click Next
      Screen Shot 2016-07-18 at 17.27.52
    • Click the check box Enable DHCP
    • Allocation Pools = 172.0.1.101,172.0.1.199
    • DNS Name Servers = 172.0.1.3 (required)
    • Click Create
      Screen Shot 2016-07-18 at 17.28.22

Verify Subnet is created via the Network Details:

Screen Shot 2016-07-18 at 17.51.54

Final word

This blog post shows how to create two OpenStack based Networks in an AHV based Nutanix cluster.

Screen Shot 2016-07-18 at 18.01.02

Verify the newly created networks via acli (run from any available CVM in the Nutanix cluster)  that can be used for Images later.

acli -> net.list

Screen Shot 2016-07-18 at 17.55.26

Network verification via Prism -> VM -> Network Config

 Screen Shot 2016-07-18 at 17.57.43

Click Pencil next to the vlan.220 network to view the DHCP details

Screen Shot 2016-07-18 at 17.58.02

And finally a picture of the OpenStack graphical layout of the networks

Screen Shot 2016-07-18 at 18.05.53

In addition, part IV in the blog series has been released. Nutanix OpenStack Part IV – Image management