gluon/gluon/api
Bin Hu 4630cc62d1 Support all API YAML Models by default
Service API Models are defined in gluon/models directory, where each
sub-directory is a model of NFV networking service. An exemplary structure
looks like:

    gluon/models/net-l3vpn/api.yaml

A more generic example looks like:

    gluon/models/<service>/<name>.yaml

Currently, in gluon/cmd/config.py, service model is net-l3vpn only by
default. When a new service model is added, we need to add the new
service model in "service_list" of proton.conf, and restart the service
by something like:

    proton-server --config-file proton.conf

If some user forgets to add it to proton.conf, even if new service model
is defined appropriately, Proton Server only loads net-l3vpn by default.

This patch changes the default model to be all models under gluon/models
directory. This means that if a user adds a service model definition, he
does not have to change proton.conf. By simply restarting proton-server,
all models will be loaded by default. The user needs to change proton.conf
ONLY IF he has specific needs of supporting specific service(s).

So this patch improves usability of adding / removing new service models
on-demand.

The original work is credited to Thomas Hambleton.

Change-Id: If2e5b7225105ca0dbbda4bb85090ce3c86e0e7f8
Signed-off-by: Bin Hu <bh526r@att.com>
2017-04-12 09:49:01 -07:00
..
hooks Remove unused import statements 2017-03-16 23:23:49 +00:00
views Gluon RBAC using keystone and oslo.policy 2016-12-15 10:33:26 -06:00
__init__.py Initial Gluon Code 2016-09-21 19:48:56 +00:00
app.py Gluon RBAC using keystone and oslo.policy 2017-01-16 16:54:02 -06:00
attributes.py Gluon RBAC using keystone and oslo.policy 2016-12-15 10:33:26 -06:00
baseObject.py Update code to comply with Gluon API Spec 2017-01-22 10:39:27 -06:00
link.py Nitpicking Cleanup to initial Gluon code 2016-09-29 18:06:50 -04:00
proton_controller.py Support all API YAML Models by default 2017-04-12 09:49:01 -07:00
root.py Base URI return values 2017-04-10 12:25:57 -07:00
types.py Update code to comply with Gluon API Spec 2017-01-22 10:39:27 -06:00