summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-neutron_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron_git.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb
index ebe76b2..8eb5788 100644
--- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb
@@ -27,6 +27,25 @@ S = "${WORKDIR}/git"
27 27
28inherit setuptools update-rc.d identity hosts default_configs 28inherit setuptools update-rc.d identity hosts default_configs
29 29
30SERVICECREATE_PACKAGES = "${SRCNAME}-setup"
31KEYSTONE_HOST="${CONTROLLER_IP}"
32
33# USERCREATE_PARAM and SERVICECREATE_PARAM contain the list of parameters to be set.
34# If the flag for a parameter in the list is not set here, the default value will be given to that parameter.
35# Parameters not in the list will be set to empty.
36
37USERCREATE_PARAM_${SRCNAME}-setup = "name pass tenant role email"
38SERVICECREATE_PARAM_${SRCNAME}-setup = "name type description region publicurl adminurl internalurl"
39python () {
40 flags = {'type':'network',\
41 'description':'OpenStack Networking service',\
42 'publicurl':"'http://${KEYSTONE_HOST}:9696/'",\
43 'adminurl':"'http://${KEYSTONE_HOST}:9696/'",\
44 'internalurl':"'http://${KEYSTONE_HOST}:9696/'"}
45
46 d.setVarFlags("SERVICECREATE_PARAM_%s-setup" % d.getVar('SRCNAME',True), flags)
47}
48
30do_install_append() { 49do_install_append() {
31 TEMPLATE_CONF_DIR=${S}${sysconfdir}/ 50 TEMPLATE_CONF_DIR=${S}${sysconfdir}/
32 NEUTRON_CONF_DIR=${D}${sysconfdir}/neutron 51 NEUTRON_CONF_DIR=${D}${sysconfdir}/neutron