diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron_git.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index 51c2ac4..454f51d 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb | |||
| @@ -6,21 +6,20 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | |||
| 6 | 6 | ||
| 7 | SRCNAME = "neutron" | 7 | SRCNAME = "neutron" |
| 8 | 8 | ||
| 9 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master \ | 9 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/newton \ |
| 10 | file://neutron-server.init \ | 10 | file://neutron-server.init \ |
| 11 | file://neutron-agent.init \ | 11 | file://neutron-agent.init \ |
| 12 | file://l3_agent.ini \ | 12 | file://l3_agent.ini \ |
| 13 | file://dhcp_agent.ini \ | 13 | file://dhcp_agent.ini \ |
| 14 | file://metadata_agent.ini \ | 14 | file://metadata_agent.ini \ |
| 15 | file://neutron-dhcp-agent-netns-cleanup.cron \ | 15 | file://neutron-dhcp-agent-netns-cleanup.cron \ |
| 16 | file://0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch \ | ||
| 17 | " | 16 | " |
| 18 | 17 | ||
| 19 | # TBD: update or drop | 18 | # TBD: update or drop |
| 20 | # file://uuid_wscheck.patch | 19 | # file://uuid_wscheck.patch |
| 21 | 20 | ||
| 22 | SRCREV = "6dcfe3a9362ae5fcf18e5cfb59663e43446cd59c" | 21 | SRCREV = "e4aac689002645b837c12f23470fea5e61600a21" |
| 23 | PV = "7.0.0+git${SRCPV}" | 22 | PV = "9.3.1+git${SRCPV}" |
| 24 | 23 | ||
| 25 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
| 26 | 25 | ||
| @@ -46,16 +45,17 @@ python () { | |||
| 46 | } | 45 | } |
| 47 | 46 | ||
| 48 | do_install_append() { | 47 | do_install_append() { |
| 49 | TEMPLATE_CONF_DIR=${S}${sysconfdir}/ | 48 | TEMPLATE_CONF_DIR=${S}${sysconfdir}/oslo-config-generator |
| 50 | NEUTRON_CONF_DIR=${D}${sysconfdir}/neutron | 49 | NEUTRON_CONF_DIR=${D}${sysconfdir}/neutron |
| 51 | 50 | ||
| 52 | install -d ${NEUTRON_CONF_DIR} | 51 | install -d ${NEUTRON_CONF_DIR} |
| 53 | install -d ${NEUTRON_CONF_DIR}/plugins/ml2 | 52 | install -d ${NEUTRON_CONF_DIR}/plugins/ml2 |
| 54 | 53 | ||
| 55 | install -m 600 ${TEMPLATE_CONF_DIR}/neutron.conf ${NEUTRON_CONF_DIR}/ | 54 | install -m 600 ${TEMPLATE_CONF_DIR}/neutron.conf ${NEUTRON_CONF_DIR}/ |
| 55 | #touch ${NEUTRON_CONF_DIR}/neutron.conf | ||
| 56 | install -m 600 ${S}/etc/api-paste.ini ${NEUTRON_CONF_DIR}/ | 56 | install -m 600 ${S}/etc/api-paste.ini ${NEUTRON_CONF_DIR}/ |
| 57 | install -m 600 ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/ | 57 | install -m 600 ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/ |
| 58 | install -m 600 ${TEMPLATE_CONF_DIR}/neutron/plugins/ml2/* ${NEUTRON_CONF_DIR}/plugins/ml2 | 58 | install -m 600 ${TEMPLATE_CONF_DIR}/ml2* ${NEUTRON_CONF_DIR}/plugins/ml2 |
| 59 | 59 | ||
| 60 | # Neutron.conf config changes (replace with .ini file editing) | 60 | # Neutron.conf config changes (replace with .ini file editing) |
| 61 | sed -e "s:^# core_plugin.*:core_plugin = ml2:g" -i ${NEUTRON_CONF_DIR}/neutron.conf | 61 | sed -e "s:^# core_plugin.*:core_plugin = ml2:g" -i ${NEUTRON_CONF_DIR}/neutron.conf |
