2
Copyright 2010-2011 United States Government as represented by the
3
Administrator of the National Aeronautics and Space Administration.
4
Overview Sections Copyright 2010-2011 Citrix
7
Licensed under the Apache License, Version 2.0 (the "License"); you may
8
not use this file except in compliance with the License. You may obtain
9
a copy of the License at
11
http://www.apache.org/licenses/LICENSE-2.0
13
Unless required by applicable law or agreed to in writing, software
14
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
License for the specific language governing permissions and limitations
21
In Nova, users organize their cloud resources in projects. A Nova project consists of a number of VM instances created by a user. For each VM instance, Nova assigns to it a private IP address. (Currently, Nova only supports Linux bridge networking that allows the virtual interfaces to connect to the outside network through the physical interface. Other virtual network technologies, such as Open vSwitch, could be supported in the future.) The Network Controller provides virtual networks to enable compute servers to interact with each other and with the public network.
23
Nova Network Strategies
24
-----------------------
26
Currently, Nova supports three kinds of networks, implemented in three "Network Manager" types respectively: Flat Network Manager, Flat DHCP Network Manager, and VLAN Network Manager. The three kinds of networks can co-exist in a cloud system. However, the scheduler for selecting the type of network for a given project is not yet implemented. Here is a brief description of each of the different network strategies, with a focus on the VLAN Manager in a separate section.
28
Read more about Nova network strategies here:
37
Network Management Commands
38
---------------------------
42
Reformat command line app instructions for ``nova-manage`` using
43
``:command:``, ``:option:``, and ``.. program::``. (bug-947261)
45
Admins and Network Administrators can use the 'nova-manage' command to manage network resources:
50
* vpn list: Print a listing of the VPNs for all projects.
52
* vpn run: Start the VPN for a given project.
54
* vpn spawn: Run all VPNs.
58
Floating IP Management
59
~~~~~~~~~~~~~~~~~~~~~~
61
* floating create: Creates floating ips for host by range
62
* arguments: host ip_range
63
* floating delete: Deletes floating ips by range
65
* floating list: Prints a listing of all floating ips
71
* network create: Creates fixed ips for host by range
72
* arguments: [fixed_range=FLAG], [num_networks=FLAG],
73
[network_size=FLAG], [vlan_start=FLAG],
76
* network modify: Associate/disassociate network with project and/or host.
78
* :option:`--fixed_range=\<IP range\>` - Specify the network to modify by
80
* :option:`--project=\<project name\>` - Project name to associate.
82
* :option:`--host=\<host\>` - Host to associate. Optional.
83
* :option:`--disassociate-project` - Disassociate network from project.
84
Optional, mutually exclusive with :option:`--project`.
85
* :option:`--disassociate-host` - Disassociate host from project.
86
Optional, mutually exclusive with :option:`--host`.
88
* network delete: Deletes a network. Precisely one of :option:`--fixed_range`
89
or :option:`--uuid` must be specified.
91
* :option:`--fixed_range=\<IP range\>` - Specify the network by range.
92
* :option:`--uuid=\<UUID\>` - Specify the network by UUID.