summaryrefslogtreecommitdiffstats
path: root/nova/ipv6
Commit message (Collapse)AuthorAgeFilesLines
* Update OpenStack LLC to FoundationKurt Taylor2013-02-262-2/+2
| | | | | | Update all references of "LLC" to "Foundation". Change-Id: I009e86784ef4dcf38882d64b0eff484576e04efe
* Use oslo-config-2013.1b4Mark McLoughlin2013-02-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The cfg API is now available via the oslo-config library, so switch to it and remove the copied-and-pasted version. Add the 2013.1b4 tarball to tools/pip-requires - this will be changed to 'oslo-config>=2013.1' when oslo-config is published to pypi. This will happen in time for grizzly final. Add dependency_links to setup.py so that oslo-config can be installed from the tarball URL specified in pip-requires. Remove the 'deps = pep8==1.3.3' from tox.ini as it means all the other deps get installed with easy_install which can't install oslo-config from the URL. Make tools/hacking.py include oslo in IMPORT_EXCEPTIONS like it already does for paste. It turns out imp.find_module() doesn't correct handle namespace packages. Retain dummy cfg.py file until keystoneclient middleware has been updated (I18c450174277c8e2d15ed93879da6cd92074c27a). Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
* fix N402 for rest of novaSean Dague2013-01-092-2/+2
| | | | | | | fix N402 (single line docstrings should end in a period) for rest of nova files Change-Id: I57d0d9ab01345dd83e544e476d79d2c2ca68ee51
* Remove nova.config.CONFMark McLoughlin2012-11-201-2/+1
| | | | | | | | | | | | | | | Modules import nova.config for two reasons right now - firstly, to reference nova.config.CONF and, secondly, if they use one of the options defined in nova.config. Often modules import nova.openstack.common.cfg and nova.config which is a bit pointless since they could just use cfg.CONF if they just want to nova.config in order to reference CONF. Let's just use cfg.CONF everywhere and we can explicitly state where we actually require options defined in nova.config. Change-Id: Ie4184a74e3e78c99658becb18dce1c2087e450bb
* Remove nova.flagsMark McLoughlin2012-11-171-1/+0
| | | | | | | | Now that options have all moved from nova.flags to nova.config, we can safely remove the nova.flags imports and replace them with nova.config imports. Change-Id: Ic077a72dd6419bbf1e1babe71acfa43c4e8b55c8
* Switch from FLAGS to CONF in misc modulesMark McLoughlin2012-11-041-2/+3
| | | | | | | | | | | Use the global CONF variable instead of FLAGS. This is purely a cleanup since FLAGS is already just another reference to CONF. We leave the nova.flags imports until a later cleanup commit since removing them may cause unpredictable problems due to config options not being registered. Change-Id: Ib110ba8d1837780e90b0d3fe13f8e6b68ed15f65
* Defined IMPL in global ipv6 namespace.Justin Hammond2012-08-151-2/+4
| | | | | | * fix LP1014798 Change-Id: Ife2cc064128ee99a7ba1352f10c373812c69dd13
* Fix OpenStack CapitalizationJoe Gordon2012-03-152-2/+2
| | | | | | | Openstack => OpenStack for nova/*py Change-Id: Ibcfae4776422a515a109e59510fc84f8b63c00b9
* Remove the last of the gflags shim layerMark McLoughlin2012-02-101-2/+2
| | | | | | | Make FLAGS a ConfigOpts instance and fix up all the places where we expected FlagValues behaviour. Change-Id: I8f96f42e0d8d30ba6b362d29861e717cf0fa9e89
* Backslash continuations (misc.)Zhongyue Luo2012-02-083-8/+7
| | | | | | | | | | | Fixes bug #925166 This patch for packages which have few backslash continuations. Follow up patches will be for packages network, scheduler, virt, db/sqlalchemy, tests, and api/openstack. Change-Id: I4200010b47b33fa8b9115b5d379b543200f6668d
* Move cfg to nova.openstack.commonMark McLoughlin2012-02-031-1/+1
| | | | | | | | | | | | | | | Move it here so that it can be kept in sync with openstack-common using the new update.py script for code in openstack-common's incubation area. See here for more details: http://wiki.openstack.org/CommonLibrary#Incubation Note: this commit just moves the existing code in Nova with no other changes. A subsequent commit will sync it with latest openstack-common so that it is easier see the new changes. Change-Id: If88d678b1b9bad3d37117de7f7159d7fea8ab4c8
* Refactor away the flags.DEFINE_* helpersMark McLoughlin2012-01-281-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | The next obvious step in porting to cfg is to define all options using cfg schemas directly rather than using the flags.DEFINE_* helpers. This is a large change, but it is almost entirely pure refactoring and does not result in any functional changes. The only change to note is that the default values for glance_host, glance_api_servers and default_publisher_id options are now using opt value interpolation i.e. -glance_host=_get_my_ip() +glance_host='$my_ip' -glance_api_servers=['%s:%d' % (FLAGS.glance_host, FLAGS.glance_port)] +glance_api_servers=['$glance_host:$glance_port'] -default_publisher_id=FLAGS.host +default_publisher_id='$host' Also note that the lower_bound check on the {report,periodic}_interval options are no more, but this has been true since cfg was first added. Change-Id: Ia58c8f0aaf61628bb55b1b8485118a2a9852ed17
* Bug #835964: pep8 violations in IPv6 codeEwan Mellor2011-08-281-1/+2
| | | | Fix pep8 violations.
* add rainy day test to to_globalKen Pepple2011-08-241-1/+3
|\ | | | | fixed to_global to catch correct error from incorrect mac addresses
| * added exception catch and test for bad prefixKen Pepple2011-08-211-0/+2
| |
| * added rainy day test for ipv6 tests. fixed ipv6.to_global to trap correct ↵Ken Pepple2011-08-201-1/+1
| | | | | | | | exception.
* | added exception catch and test for bad project_idKen Pepple2011-08-211-0/+2
| |
* | added exception catch for bad prefix and matching testKen Pepple2011-08-211-0/+2
| |
* | lp:828610Ken Pepple2011-08-201-1/+1
|/
* Reduce indentation to avoid PEP8 failuresJohannes Erdfelt2011-05-161-2/+2
|
* PEP8 cleanupsJohannes Erdfelt2011-05-161-2/+3
|
* Add test suite for IPv6 address generationJohannes Erdfelt2011-05-121-3/+8
|
* Accept and ignore project_idJohannes Erdfelt2011-05-121-1/+1
|
* Implement IPv6 address generation that includes account identifierJohannes Erdfelt2011-05-112-3/+49
|
* Abstract out IPv6 address generation to pluggable backendsJohannes Erdfelt2011-05-113-0/+93