Commit Graph

94 Commits

Author SHA1 Message Date
Michael Gundlach f87fb14dcb See description of change... what's the difference between that message and this message again? 2010-08-17 17:33:50 +00:00
Michael Gundlach e8be36d7a7 Move eventlet-using class out of endpoint/__init__.py into its own submodule, so that twisted-related code using endpoint.[other stuff] wouldn't run eventlet and make unit tests throw crazy errors about eventlet 0.9.10 not playing nicely with twisted. 2010-08-17 13:23:20 -04:00
Vishvananda Ishaya b07a85167f Fixes issues with allocation and deallocation of fixed and elastic addresses. 2010-08-16 19:03:50 +00:00
Michael Gundlach 5c4a806c85 PEP8 and name corrections 2010-08-16 10:57:42 -04:00
Vishvananda Ishaya cecfc6a60d Fixes bug lp:616312 by reversing the order of args in nova-manage when it calls AuthManager.get_credentials. 2010-08-14 22:03:38 +00:00
Vishvananda Ishaya 24644fb298 Sets a hostname for instances that properly resolves and cleans up network classes 2010-08-14 21:52:51 +00:00
Vishvananda Ishaya 8d6a1256ae Improves pep8 compliance and pylint score in network code. 2010-08-14 21:13:44 +00:00
Vishvananda Ishaya d744a5e7bd Fixes out of order arguments in get_credentials 2010-08-13 14:09:30 -07:00
Michael Gundlach b998da0c46 Make WSGI routing support routing to WSGI apps or to controller+action
Support the beginnings of serialization format detection (aka did the request ask for JSON or XML)
2010-08-12 15:19:33 -07:00
Vishvananda Ishaya 6664c960e0 fix dhcpbridge issues 2010-08-11 15:29:14 -07:00
Vishvananda Ishaya 24f8cb89f8 Actually pass in hostname and create a proper model for data in network code 2010-08-11 01:20:21 -07:00
Vishvananda Ishaya 0ccd10283b support a hostname that can be looked up 2010-08-10 21:51:18 -07:00
Vishvananda Ishaya c4f6500a4c pylint cleanup 2010-08-10 12:27:06 -07:00
Vishvananda Ishaya 7a1709561f rename create_zip to zipfile so lazy match works 2010-08-10 10:25:52 -07:00
Vishvananda Ishaya 1f3128922d merged trunk, fixed an error with releasing ip 2010-08-09 23:44:13 -07:00
Eric Day 05b87ac8e7 This branch builds off of Todd and Michael's API branches to rework the Rackspace API endpoint and WSGI layers. 2010-08-09 20:37:15 +00:00
Eric Day 46c0f66d12 Cleaned up pep8/pylint for bin/* files. I did not fix rsapi since this is already cleaned up in another branch. 2010-08-07 19:51:17 -07:00
Eric Day fd625a55c3 Reworked WSGI helper module and converted rackspace API endpoint to use it. 2010-08-07 12:12:10 -07:00
Eric Day 91aa062668 Merged Todd and Michael's changes. 2010-08-06 16:56:56 -07:00
Vishvananda Ishaya e6e5c8e068 merged trunk 2010-08-06 14:27:48 -07:00
Vishvananda Ishaya d170979304 clean up nova-manage. If vpn data isn't set for user it skips it 2010-08-04 18:37:00 -07:00
Vishvananda Ishaya 9a038d2b81 fixed tests, moved compute network config call, added notes, made inject option into a boolean 2010-08-04 15:44:23 -07:00
Vishvananda Ishaya 576dade1d5 change network_service flag to network_type and don't take full class name 2010-08-03 15:13:07 -07:00
Vishvananda Ishaya ecf8608a84 Huge network refactor, Round I
Made network into its own binary
Made simple network a plugabble class
Fixed unittests
Moved various classes around
Moved mac generation into network class
2010-08-03 14:31:47 -07:00
Todd Willey 3cb4226d7e Merge from trunk. 2010-08-03 12:58:58 -04:00
Vishvananda Ishaya 912a6bd28a Make nodaemon twistd processes log to stdout 2010-07-30 11:29:13 -07:00
Ewan Mellor 9f4996e873 Merge with trunk, including fixing up conflicts with the removal of fake_users
and the reworking of node.py -> service.py.
2010-07-29 00:11:02 +01:00
Vishvananda Ishaya fe4ba7d896 merged trunk 2010-07-27 13:08:22 -07:00
Todd Willey 4044051266 Share my updates to the Rackspace API. 2010-07-26 23:19:51 -04:00
Vishvananda Ishaya 754db8ef1c renamed xxxservice to service 2010-07-26 17:14:28 -07:00
Vishvananda Ishaya b1bc1e2edc merged trunk 2010-07-26 11:02:28 -07:00
Ewan Mellor 3a9fffca3e Added missing import 2010-07-25 23:51:55 +00:00
Vishvananda Ishaya f7962c73aa More Cleanup of code
Moved code in AuthManager init to new so it isn't called multiple times
Changed AuthManager flag to specify class name as well as module name
Added exception for missing auth_driver
Changed import to use "recommended" style for nested imports
  http://docs.python.org/dev/library/functions.html#__import__
2010-07-25 11:20:09 -07:00
Vishvananda Ishaya ef641ef88c Changes nova-volume to use twisted. 2010-07-25 16:45:17 +00:00
Ewan Mellor 2b4b7c59fb Merge lp:~ewanmellor/nova/lp609757. 2010-07-25 15:38:31 +01:00
Ewan Mellor 480d1b6d5d Add an import so that nova-compute sees the images_path flag, so that it
can be used on the command line.
2010-07-25 15:32:10 +01:00
Ewan Mellor effbd4b4c7 Merged with trunk, since a lot of useful things have gone in there recently. 2010-07-24 02:49:20 +01:00
Vishvananda Ishaya 35fda702ab renamed xxxnode to xxservice 2010-07-23 15:27:18 -07:00
Vishvananda Ishaya b03f05a0eb typo fixes and extra print statements removed 2010-07-22 07:51:03 -05:00
Vishvananda Ishaya 96b86e93b5 Merged trunk, fixed extra references to fake_users 2010-07-21 20:15:28 -05:00
Vishvananda Ishaya 80d03bbeb1 make nova-network executable 2010-07-21 14:55:16 -05:00
Vishvananda Ishaya 3b982f62bb refactor daemons to use common base class in preparation for network refactor 2010-07-21 14:42:22 -05:00
Vishvananda Ishaya 9fd52c84f0 merge with twisted-volume 2010-07-21 09:35:55 -05:00
Vishvananda Ishaya 2d49a870fe remove all of the unused saved return values from attach_to_twisted 2010-07-21 08:46:53 -05:00
Vishvananda Ishaya 8ef16679e0 Merged trunk. Fixed new references to UserManager 2010-07-19 20:27:44 -05:00
Vishvananda Ishaya 19a8556917 merged trunk 2010-07-19 14:45:39 -05:00
Vishvananda Ishaya a3ca587654 Massive refactor of users.py
Split users.py into manager.py and ldpadriver.py
Added tons of docstrings
Cleaned up public methods
Simplified manager singleton handling
2010-07-19 13:19:26 -05:00
Soren Hansen c5c09a83b7 Merge with trunk. 2010-07-18 11:26:50 -07:00
Vishvananda Ishaya 5d647826d6 merged in trunk and fixed import merge errors 2010-07-18 13:25:43 -05:00
Ewan Mellor f39d6549d4 In preparation for XenAPI support, refactor the interface between
nova.compute and the hypervisor (i.e. libvirt).

compute.node is no longer coupled tightly with libvirt.  Instead, hypervisor
connections are handled through a simple abstract interface.   This has the
additional advantage that there is no need to riddle the code with
FLAGS.fake_libvirt checks, as we now have an interface behind which we can mock.

The libvirt-specific code, and the fakevirt code used for unit tests, have
moved into nova.virt.

The fake_libvirt flag has been replaced with a connection_type flag, that will
allow us to specify different connection types.

The disk image handling (S3 or local disk image fetch) has moved into
nova.virt.images, where it will be easier to share between connection types.

The power_state values (Instance.RUNNING etc) and the INSTANCE_TYPES dictionary
have moved into their own files (nova.compute.instance_types and
nova.compute.power_state) so that we can share them without mutual
dependencies between nova.compute.node and nova.virt.libvirt_conn.
2010-07-18 18:15:12 +01:00