Non admin users can create a port now. This commit updates the corresponding document. Change-Id: Iaa5678f70c4f67d6255448ed3dd0fe4e7d67a27a
4.5 KiB
Create and manage networks
The OpenStack Networking service provides a scalable system for managing the network connectivity within an OpenStack cloud deployment. It can easily and quickly react to changing network needs (for example, creating and assigning new IP addresses).
Networking in OpenStack is complex. This section provides the basic instructions for creating a network and a router. For detailed information about managing networks, refer to the OpenStack Networking Guide.
Create a network
Log in to the dashboard.
Select the appropriate project from the drop down menu at the top left.
On the
Projecttab, open theNetworktab and clickNetworkscategory.Click
Create Network.In the
Create Networkdialog box, specify the following values.NetworktabNetwork Name: Specify a name to identify the network.Shared: Share the network with other projects. Non admin users are not allowed to set shared option.Admin State: The state to start the network in.Create Subnet: Select this check box to create a subnetYou do not have to specify a subnet when you create a network, but if you do not specify a subnet, the network can not be attached to an instance.
SubnettabSubnet Name: Specify a name for the subnet.Network Address: Specify the IP address for the subnet.IP Version: Select IPv4 or IPv6.Gateway IP: Specify an IP address for a specific gateway. This parameter is optional.Disable Gateway: Select this check box to disable a gateway IP address.Subnet DetailstabEnable DHCP: Select this check box to enable DHCP.Allocation Pools: Specify IP address pools.DNS Name Servers: Specify a name for the DNS server.Host Routes: Specify the IP address of host routes.Click
Create.The dashboard shows the network on the
Networkstab.
Create a router
Log in to the dashboard.
Select the appropriate project from the drop down menu at the top left.
On the
Projecttab, open theNetworktab and clickRouterscategory.Click
Create Router.In the
Create Routerdialog box, specify a name for the router andExternal Network, and clickCreate Router.The new router is now displayed in the
Routerstab.To connect a private network to the newly created router, perform the following steps:
On the
Routerstab, click the name of the router.On the
Router Detailspage, click theInterfacestab, then clickAdd Interface.In the
Add Interfacedialog box, select aSubnet.Optionally, in the
Add Interfacedialog box, set anIP Addressfor the router interface for the selected subnet.If you choose not to set the
IP Addressvalue, then by default OpenStack Networking uses the first host IP address in the subnet.The
Router NameandRouter IDfields are automatically updated.
Click
Add Interface.
You have successfully created the router. You can view the new
topology from the Network Topology tab.
Create a port
Log in to the dashboard.
Select the appropriate project from the drop-down menu at the top left.
On the
Projecttab, clickNetworkscategory.Click on the
Network Nameof the network in which the port has to be created.Go to the
Portstab and clickCreate Port.In the
Create Portdialog box, specify the following values.Name: Specify name to identify the port.Device ID: Device ID attached to the port.Device Owner: Device owner attached to the port.Binding Host: The ID of the host where the port is allocated.Binding VNIC Type: Select the VNIC type that is bound to the neutron port.Click
Create Port.The new port is now displayed in the
Portslist.