After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 197 of 317

Chapter 9 187 Only for a VLAN-managed network If our OpenStack environment has been set up by using VlanManager in /etc/nova/nova.conf (the default when nothing is specified), run the following command in Shell on our OpenStack Controller API server: sudo nova-manage network create --label=horizon --num_networks=1 --network_size=64 --vlan=101 --bridge_interface=eth2 --project_id=900dae01996 343fb946b42a3c13a4140 --fixed_range_v4=10.2.0.0/8 This creates an IP range on a specific VLAN that we have associated with our horizon tenant. Once successful, our new tenant is available to use. How it works... OpenStack Dashboard is a feature-rich interface that complements the command-line options available to you when managing our OpenStack environment. This means we can simply create a tenant (Ubuntu's interface refers to this as a project) which users can belong to, within OpenStack Dashboard. When creating new tenants under a VlanManager-configured OpenStack network, we assign an IP address range and specific VLAN ID to this tenant. If we assign a new VLAN, ensure you configure your switches accordingly, so that the private network can communicate by using this new VLAN ID. Note that we use the following parameters with the nova-manage command when configuring a network to match our new tenant: f --label=horizon f --vlan=101 f --project_id=900dae01996343fb946b42a3c13a4140 What we have done is name this private network appropriately, matching our tenancy. We have created a new VLAN so that traffic is encapsulated in a new VLAN, separating this traffic from other tenants. We finally specified the ID of the tenancy that was returned when we created the tenant through OpenStack Dashboard. www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook