68 Commits

Author SHA1 Message Date
Jason Kölker
01cb899ef7 Promote v1.0 to current
* Mark v0.1 as deprecated
* Add v1.0 to version list
* Use subclasses for wsgi Routers
* Add melange-manage route command to print routes
* Fixes certain routes not being exposed in the v1.0 api (LP947327)

Change-Id: Iac8294f2534decbbddf53230386fdbe8c622ff84
2012-03-05 15:48:46 -06:00
rajarammallya
ea212892db Fixes typo in plugin migration paths
Change-Id: I83e5c1b342bcf25fb69235b8c4673e64375e11d9
2012-02-20 22:07:02 +05:30
rajarammallya
c318aa7467 Allows pluggable algorithms for address generation.
Addresses blueprint scalability by extracting out ip/mac addresss generation
into separate pluggable components. Allows the address generator plugins to
create their own models and database tables.

Change-Id: If85b6c73d1e30c92f0e2ea80fea028813d612cb8
2012-02-10 22:48:22 +05:30
Jason Kölker
05612066e9 Fix namespace declaration
melange/__init__.py may not exist depending on order of installation.

Change-Id: I875152afbd691e221414ef700371317730237506
2012-02-09 13:49:18 -06:00
Jason Kölker
af1e6f375c Declare the melange namespace
This allows the client module to share the melange.* namespace
Rename bin/melange to bin/melange-server

Change-Id: I0ae94fbad7912b2642a6f53217fbd16c700e0dad
2012-01-23 09:26:34 -06:00
rajarammallya
ce0ba2e45a Removes client and associated functional test code
All the functionality removed has already made it into the client repo

Change-Id: Icc4748100d06d0bac08619d7fe17c924b81a106f
2012-01-23 17:36:07 +05:30
Rajaram Mallya and Gavri Fernandez
f1091479c1 Changed cli arguments to be key value pairs to allow optional args to be skipped
Change-Id: Ic56ac3848b700dc26a2178d1050a132f05e0478c
2011-12-21 20:48:26 +05:30
Rajaram Mallya
8535ff4a8d CLI commands for shared ips 2011-11-21 10:23:33 +05:30
Vinkesh Banka
450dfa5266 Vinkesh | Exposed an API to create mac_address_range. Also added its CLI 2011-10-25 16:47:44 +05:30
Vinkesh Banka
573cde9a0a Vinkesh | Added CLI for Interface 2011-10-25 15:56:01 +05:30
vinkesh banka
9d94690037 Vinkesh | Displaying an error message which asks users to provide a tenant_id in CLI if needed 2011-10-07 09:55:52 +05:30
vinkesh banka
47e1853c67 Rajaram/Vinkesh | Added CLI for IpRoute 2011-10-07 09:55:52 +05:30
vinkesh banka
1b94bc7df1 Rajaram/Vinkesh | Added IpRoute model. Started using melange.conf.sample for tests 2011-10-07 09:55:52 +05:30
Rajaram Mallya
19f34dedb0 Rajaram/Vinkesh| fixed bug in melange-delete-deallocated-ips where it wasnt loading the config file 2011-10-07 09:55:52 +05:30
Rajaram Mallya
2197867025 Rajaram/Vinkesh | Added CLI commands for ip_address 2011-10-07 09:55:51 +05:30
Rajaram Mallya
b885fa4e92 Rajaram/Vinkesh|added route to search for allocated ip addresses 2011-10-07 09:55:51 +05:30
Rajaram Mallya
322ca4bdcb Vinkesh/Rajaram|Removed non tenanted resources from api 2011-10-07 09:55:39 +05:30
Rajaram Mallya
896827055e Vinkesh\Rajaram|made keystone auth optional in melange-client 2011-10-07 09:55:33 +05:30
Rajaram Mallya
f61c3b941b Rajaram/Vinkesh | Changed openstack.common imports in melange common to module level labels 2011-10-07 09:55:32 +05:30
Rajaram Mallya
b4c9a33735 Rajaram/Vinkesh|fixed more imports to import only modules and misc style improvements 2011-10-07 09:55:32 +05:30
Rajaram Mallya
c23dc3933b Vinkesh/Rajaram| Fixes as per Brain's comments:
1. :moved gettext.install to melange/__init__
2. melange-client raises errros only on option.verbose
3. Used urlparse.urljoin where applicable
4. Fixed version in bin/melange* scripts
and other misc fixes according to HACKING or style recomendations
2011-10-07 09:55:32 +05:30
Rajaram Mallya
459aa9bdee Rajaram|missed a couple of pep8 voilations 2011-10-07 09:55:32 +05:30
Rajaram Mallya
52fb2dadb1 Rajaram| Newline between imports and copyright header, imports only import modules, doc strings as per HACKING guide 2011-10-07 09:55:32 +05:30
Rajaram Mallya
cbd9041219 Rajaram/Vinkesh | Switched to sqlite for tests. Cleaned up migration scripts. 2011-10-07 09:55:32 +05:30
Rajaram Mallya
54c93268d0 Rajaram/Vinkesh | Renamed utils.Method to utils.MethodInspector. Removed unecessary bzrignore entries 2011-10-07 09:55:32 +05:30
Rajaram Mallya
b387e31cc4 Rajaram/Vinkesh | Simplified models mapping in db api 2011-10-07 09:55:29 +05:30
Rajaram Mallya
df77e68264 Rajaram/Vinkesh | extracted melange client code from CLI to ipam/client. Removed unnecessary bzrignore. 2011-10-07 09:55:29 +05:30
Rajaram Mallya
2c590dd359 Vinkesh/Rajaram|fixed gettext to work like in nova as per Rick Harris' suggestion 2011-10-07 09:55:26 +05:30
Rajaram Mallya
c7c62f2f45 Rajaram/Vinkesh | Fixed some pep8 errors 2011-10-07 09:55:26 +05:30
Rajaram Mallya
212a96deca Rajaram/Vinkesh | Renamed melange-manage to melange-client. Added db sync, upgrade and downgrade commands in melange-manage 2011-10-07 09:55:26 +05:30
Trey Morris
2898f58e29 correct copyright 2011-10-07 09:55:23 +05:30
Trey Morris
921899897e alphabetized melange imports 2011-10-07 09:55:22 +05:30
Deepak N
87909998df Deepak/Rajaram|renamed port to interface and moved to mysql for tests 2011-10-07 09:54:45 +05:30
vinkesh banka
2a204a09c3 pep8 fixes 2011-10-07 09:54:39 +05:30
vinkesh banka
9f0ca0de45 Vinkesh/Deepak | Added test for keystone client 2011-10-07 09:54:39 +05:30
Santhosh Kumar
d6e82e5b38 Deepak/Santhosh | Added Keystone auth to CLI 2011-10-07 09:54:39 +05:30
vinkesh banka
be0aeac30f Santhosh/Vinkesh | Removed usage of session and migration from code. Moved session and migration to db_api 2011-10-07 09:54:35 +05:30
vinkesh banka
402c7215d7 Santhosh/Vinkesh | Made db_api layer pluggable. Moved all code related to sqlalchemy to a new folder 2011-10-07 09:54:35 +05:30
Deepak N
c2fe3a0864 Changed the melange service default port to 9898 2011-10-07 09:54:34 +05:30
Deepak N
3335c0f9d1 Deepak/Vinkesh | added logging options to delete deallocated ips script 2011-10-07 09:54:30 +05:30
Deepak N
5e54bb607e Deepak/Vinkesh | removed scheduling logic from melange's delete all deallocated ips script 2011-10-07 09:54:30 +05:30
Deepak N
283ba90aa5 Vinkesh/deepak | Added a scheduler to delete deallocated ips 2011-10-07 09:54:27 +05:30
Santhosh Kumar
7ace1a6c9d Vinkesh/Santhosh | Added CLI for subnets to create and list them 2011-10-07 09:53:34 +05:30
Santhosh Kumar
f73ea5e8e7 Vinkesh/Santhosh | Modified the subnets, IpAddresses & IpBlocks to remove the separation of public & private in the routes 2011-10-07 09:53:34 +05:30
Deepak N
6fe09de957 Vinkesh/Deepak | Updated CLI to create block with parent_id 2011-10-07 09:51:15 +05:30
Deepak N
abad6ea950 Vinkesh/Deepak | Added CLI for ip block update 2011-10-07 09:50:53 +05:30
Vinkesh Banka
aebf18aebf Rajaram/Vinkesh | Added tests for TenantBased clients 2011-10-07 09:50:53 +05:30
Vinkesh Banka
274e0fef91 Rajaram/Vinkesh| Added CLI client for unusable_ip_octet 2011-10-07 09:50:52 +05:30
Vinkesh Banka
9d9ce333cd Rajaram/Vinkesh| Added CLI client for unusable_ip_range 2011-10-07 09:50:52 +05:30
Vinkesh Banka
ff021a6417 Rajaram/Vinkesh | Fixed a bug in option parsing where whole options was not matched from among possible options rather substring 2011-10-07 09:50:52 +05:30