Commit Graph

20 Commits

Author SHA1 Message Date
liusheng 3e848789b7 Fix uwsgi doc to avoid misunderstanding
This change add a uwsgi apache config file template and modify the doc
about how to config apache for Mogan.

Change-Id: I5155c84e08f958e80473ae6e87a97edd02aefe09
2017-07-28 14:42:25 +08:00
liusheng 80234fadce Support running api under uWSGI
This change add the support to run mogan-api server under uWSGI

Implements: bp support-uwsgi
Change-Id: I561028f39092b0b7aca5d5216dde36636be70b66
2017-07-18 08:38:15 +00:00
liusheng f7b9a2a5b3 Use policy-generator to generate policy sample file
This change will avoid the maintenance of policy.sample file in every
policy change.

Change-Id: Ia460a5e3c44f1d9306866414edced53d29559d36
2017-02-04 08:41:31 +08:00
Jenkins acdb81876b Merge "Refactor policy: Support precision control of power action" 2017-02-03 12:50:55 +00:00
liusheng 7611ec20b8 Refactor policy: Support precision control of power action
Change-Id: I7dfbbdc69873c72df4a0121cb6764905b669d2c9
2017-02-03 16:02:38 +08:00
Zhenguo Niu 6440dcc4d0 Add support for floating IPs association
We should add floating ips realted methods, so users can associate
or dissociate fips to their instances.

Change-Id: I284caf6ab0b8297024983db79f5b6ecaea8f4f40
Implements: bp associate-dissociate-fip
2017-01-25 17:47:04 +08:00
liusheng aa57478af4 Add default policy example for getting networks operation
Change-Id: I62fbddc0b869cbb482a56f6363cf0641a37d2995
2017-01-23 09:31:53 +08:00
Zhenguo Niu 7575d1b96e Rename nimble to mogan (4)
This changes devstack plugin some other related things

Change-Id: I60913691a89b767f34a04192244eee7ce4af7996
2017-01-05 00:49:39 +08:00
sxmatch 4fd1aab5b3 Rename nimble to mogan(part three)
This part includes codes folder renaming.

Co-Authored-By: Zhenguo Niu <Niu.ZGlinux@gmail.com>

Change-Id: I919f17a769baee44ce19f65bab900f9d6bd8b982
2017-01-04 22:53:39 +08:00
liusheng 1557367351 Remove the nimble.conf.sample
It is easy to use "tox -egenconfig"(or oslo-config-generator command) to
generate the newest config sample file. It doesn't need to maintain an
nimble.conf.sample file which need to be updated once a config option
changed.

Change-Id: Iff050af171dcea6f9cba9878c19af4f876523f15
2016-11-30 16:47:27 +08:00
Zhenguo Niu 948e0f5758 Add check for specified image in create request
We should make sure the image exists before sending it to
Ironic.

Change-Id: I8ff6aec53186c3ecbb9b7bd06e3bcd3fe35ef913
2016-11-23 16:29:52 +08:00
Zhenguo Niu 0551154513 Remove duplicate policy.json file
Change-Id: Ifc2205a4dde2cdf5b7020a07e82cf51d0cc27fcf
2016-11-03 19:21:09 +08:00
Shaohe Feng 518d89d7c1 Add policy support to Nimble
Implements more fine-grained policy support within our API service,
following the oslo policy-in-code spec, while maintaining compatibility
with the previous default policy.json file. An empty policy.json file is
included, along with a sample file listig all supported policy settings
and their default values.

A new tox target "genpolicy" has been added to ease automation of
sample policy file generation.

Any policy has be changed, please run "tox -e genpolicy" to update
policy.json.sample.

ref: http://docs.openstack.org/developer/oslo.policy/usage.html
ref: pydoc oslo_policy.policy

Change-Id: I3a971f2565c2f35665007461c1ae91eeb3b2de5a
2016-10-20 09:57:13 +00:00
shihanzhang 7ab4cff418 add devstack plugin for nimble
Change-Id: I45736f20848bb2bb37ecae4fbb272185c8cf553c
2016-09-23 17:03:48 +08:00
Zhenguo Niu d71cb7b50c Building instance base codes
Change-Id: Ic34268df71625b39e588179e6586ca02466b5c6e
2016-09-05 17:54:23 +08:00
Zhenguo Niu 26a6ef10a9 Update periodic tasks
Change-Id: Ibe2835b711dae40db4d1e4d2f0aa23a496e09733
2016-08-19 19:20:10 +08:00
Zhenguo Niu deaeae5e77 Create Engine service
Change-Id: Ia5db93d9f7cfe9b175f515d4a4b5721040627564
2016-08-19 00:54:27 +08:00
Zhenguo Niu b11452b68a Add flaovr API
Change-Id: I467042648cb13e857e149c396af92552243c5d2a
2016-08-18 19:54:46 +08:00
Zhenguo Niu 74444bd30e Make use of oslo-config-generator
Change-Id: I43455aa3d13bd8310f7de94b76dfd7ddd2080516
2016-08-17 00:51:20 +08:00
Zhenguo Niu 0e115f9a36 Add configuration sample file
Change-Id: I09d8078ab4a150574cb90f422ed82c77592ffd8f
2016-08-15 20:18:03 +08:00