Commit Graph

687 Commits

Author SHA1 Message Date
Ilya Alekseyev c5cff2f02e Added possibility to mark fixed ip like reserved and unreserved. 2011-08-06 11:27:43 +00:00
Vishvananda Ishaya 8a87a3ecc0 Pass a real context object into image service calls 2011-08-05 15:25:12 -07:00
Ilya Alekseyev a77f10ee05 methods renamed 2011-08-05 19:45:17 +04:00
Ilya Alekseyev 8ecaec5719 tests and merge with trunk 2011-08-05 07:49:29 +04:00
John Tran 502801bfff For nova-manage network create cmd, added warning when size of subnet(s) being created are larger than FLAG.network_size, in attempt to alleviate confusion. For example, currently when 'nova-manage network create foo 192.168.0.0/16', the result is that it creates a 192.168.0.0/24 instead without any indication to why 2011-08-05 02:27:36 +00:00
Mandell Degerness ca79470843 Fix to nova-ajax-console-proxy to use the new syntax.
create_consumer and create_connection abstractions were added recently.
2011-08-04 10:43:16 -07:00
John Tran f942a7f22a forgot to remove comment 2011-08-03 00:16:52 -07:00
John Tran bfb5a5e120 updated to work w/ changes after merged trunk fixing var renaming. the logic which forces default to FLAGS.network_size if requested cidr was larger, was also applying to requested cidrs smaller than FLAGS.network_size. Requested cidrs smaller than FLAGS.network_size should be ignored and not overriden. 2011-08-03 00:11:52 -07:00
John Tran 6d7e5196db merged from trunk 2011-08-02 23:16:27 -07:00
Jason Koelker 8004e28bb7 merge the trunk 2011-08-02 15:13:33 -05:00
Brian Waldon 07646e8584 removing compute monitor 2011-08-02 10:09:58 -04:00
Jason Koelker 54f0ad92cf the netmask is implied by the cidr, so use that to display the v6 subnet 2011-07-29 16:10:45 -05:00
Jason Koelker 0f94eba279 either v4 or v6 is required 2011-07-29 16:09:57 -05:00
Jason Koelker 241bc43166 stwart the switch to just fixed_range 2011-07-29 15:05:53 -05:00
Jason Koelker 1fb2a1b1f0 require either v4 or v6 2011-07-29 14:53:38 -05:00
Trey Morris f4c8c97cdd typo 2011-07-27 17:24:39 -05:00
Trey Morris 7c9dc248af --bridge defaults to br100 but with a deprecation warning and to be removed in d4 2011-07-27 17:19:19 -05:00
Trey Morris 2b0134bdfa added ipv6 requirements to nova-manage network create. changed --network to --fixed_range_v4 2011-07-27 13:49:36 -05:00
Trey Morris a300a964ce updated the bridge arg requirements based on manager 2011-07-27 13:34:45 -05:00
Trey Morris a0b5360646 updated nova-manage create network. better help, handling of required args, and exceptions. Also updated FLAG flat_network_bridge to default to None 2011-07-27 11:44:14 -05:00
John Tran e239dc5899 fixed per peer review 2011-07-26 13:12:34 -07:00
John Tran 6fb2fe901b added warning when size of subnet(s) being created are larger than FLAG.network_size in attempt to alleviate confusion. For example, currently when 'nova-manage network create foo 192.168.0.0/16', the result is that it creates a 192.168.0.0/24 instead without any indication to why. 2011-07-26 10:03:16 -07:00
Lvov Maxim 88ee72fbb5 fix pep8 2011-07-26 09:37:48 +04:00
Lvov Maxim 31b9bb98b0 add decorator for 'dns' params 2011-07-25 17:38:42 +04:00
Lvov Maxim 48b0d1aa5b merge with trunk, resolve conflicts 2011-07-25 17:35:26 +04:00
Lvov Maxim 9088c9b51a fix 'version' command 2011-07-25 09:42:58 +04:00
Jason Koelker 5593006970 docstring update 2011-07-22 17:02:31 -05:00
Jason Koelker e54f0cb05a default to None in the method signature 2011-07-22 16:47:37 -05:00
Lvov Maxim c4affeaffd add decorator for multi host option 2011-07-22 13:21:02 +04:00
Lvov Maxim 2ce3f780f6 merge with trunk, resolve conflicts 2011-07-22 09:02:28 +04:00
Lvov Maxim 88a0dd185e remove IPy 2011-07-22 08:58:34 +04:00
Jason Koelker 2b03601d66 add in the right number of fields 2011-07-21 16:15:18 -05:00
Jason Koelker 419b928ea2 only use the flag if it evaluates true 2011-07-21 15:26:48 -05:00
Jason Koelker 848de98876 allow 2 dns servers to be specified on network create 2011-07-21 12:45:53 -05:00
Lvov Maxim 5f47389f61 minor fix 2011-07-21 21:05:55 +04:00
Vishvananda Ishaya b77a927c36 merged trunk 2011-07-20 18:19:34 +00:00
Vishvananda Ishaya b5ceab5a46 merged trunk 2011-07-18 16:58:23 -07:00
Vishvananda Ishaya 67e5492d67 fix issues that were breaking vlan mode 2011-07-18 12:16:10 -07:00
Brian Waldon 86fe4915ee fixing bad lookup 2011-07-18 15:09:39 -04:00
Lvov Maxim cb172c1f08 merge with trunk, resolve conflicts 2011-07-15 11:46:33 +04:00
Lvov Maxim bfb4a870e4 remove argument help from docstrings + minor fix 2011-07-15 11:13:21 +04:00
Yuriy Taraday 2d645197eb Add possibility to call commands without subcommands. 2011-07-15 10:39:23 +04:00
Lvov Maxim 8a9c8bdc0c fix redundency 2011-07-15 08:27:16 +04:00
Scott Moser b5af7c4df5 add support to write to stdout rather than file if '-' is specified.
see bug 810157
2011-07-14 19:13:15 +00:00
Ilya Alekseyev 40a9488b4b added commands 2011-07-14 22:34:49 +04:00
Scott Moser 7ed74cb999 use 'with' so that close is called on file handle 2011-07-13 22:01:52 -04:00
Scott Moser b9ea0f43c1 support '-' to indicate stdout in nova-manage project 'environment' and 'zip'
This just adds support to do:
  nova-manage project zip test-project admin - > out.zip
  nova-manage project environment test-project admin - | grep NOVA_URL
2011-07-13 17:16:27 -04:00
Mike Scherbakov fa2cdbc5d4 Improvements to nova-manage:
1. nova-manage network list now shows what belongs to what project, and what's the vlan id, simplifying management in case of several networks/projects
2. nova-manage server list [zone] - shows servers. Useful if you have many servers and want to list them in particular zone, instead of grep'ing nova-manage service list.
2011-07-13 21:06:48 +00:00
Lvov Maxim 0beb900ec6 merge with trunk 2011-07-13 11:18:16 +04:00
Mike Scherbakov 915c7d52fa Renamed 'nova-manage server list' -> 'nova-manage host list' to differentiate physical hosts from VMs 2011-07-12 11:07:30 -07:00