summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-31cleanup unplugged portsHEADmasterItsuro Oda
If an unplug RPC comes when agent or lagopus is down, port will remain unplugged. Now a thread which detects unplug ports when restarting agent or lagopus and performs unplug operation is added. Change-Id: I07ef99a7ddde2f72d090c007d5bf9cd363cb4f8c Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 02 Feb 2018 00:02:56 +0000 Reviewed-on: https://review.openstack.org/539697 Project: openstack/networking-lagopus Branch: refs/heads/master
2018-01-17make resart agent unnecessaryItsuro Oda
Now agent detects lagopus down, waits lagopus restart and initialize caches again. So it is not necessary to restart agent when lagopus down. Change-Id: I46c4ae1895c498f4b598270a17af881ca6f2a939 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 30 Jan 2018 08:52:28 +0000 Reviewed-on: https://review.openstack.org/535601 Project: openstack/networking-lagopus Branch: refs/heads/master
2018-01-16replace lagopus.dsl when lagopus configuration changedItsuro Oda
Now restarting lagopus is available. Note that restarting lagopus-agent is necessary when lagopus restarted. Change-Id: I5d93500950bd0016de5c8d65e19de85f0ff257c8 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Jan 2018 08:21:12 +0000 Reviewed-on: https://review.openstack.org/533432 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-28add some devstack parametersItsuro Oda
Change-Id: Iad87af4eefa04fbff9ff3222ac72d0dea33f0096 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 28 Dec 2017 07:14:43 +0000 Reviewed-on: https://review.openstack.org/530167 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-26refactor vhost and pipe managementItsuro Oda
vhosts and pipes are created in advance according to configuration. vlan bridge is deleted when no port is attached except pipe and pipe pair is reused. Change-Id: I77271fe54a0b7501f78d0e2c2f0c8e0b4e9ac4c8 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 26 Dec 2017 05:24:57 +0000 Reviewed-on: https://review.openstack.org/530047 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-22Merge "use systemd for lagopus"Zuul
2017-12-22use systemd for lagopusItsuro Oda
this makes development convenience since restart lagopus easy. there were some bugs about lagopus process management. this patch also fixes those bugs. Change-Id: Ia9aac4a84dc9fccfa881dcae2b7e63e672fabd33 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 22 Dec 2017 09:07:27 +0000 Reviewed-on: https://review.openstack.org/529463 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-21Merge "use vhostuser client"Zuul
2017-12-21use vhostuser clientItsuro Oda
Change-Id: I03da21aceeba7db97b28ce90aabed7eb6e06256c Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 21 Dec 2017 04:14:00 +0000 Reviewed-on: https://review.openstack.org/529462 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-21add a necessary package for building DPDKItsuro Oda
Change-Id: I0471f17ac87f00dc3ede39ba34eff6f0e85234cc Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 21 Dec 2017 04:13:59 +0000 Reviewed-on: https://review.openstack.org/529461 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-20make robust against errorItsuro Oda
* plug/unplug is handled well even if there are something half done. * serialize plug/unplug. * add cache management for lagopus resources * output dsl when lagopus resources changed (not completed) * many cleanups Change-Id: I286e55ac93984ddf13b823474daef8eff5de67ba Notes (review): Code-Review+1: Itsuro Oda <oda@valinux.co.jp> Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 20 Dec 2017 06:02:49 +0000 Reviewed-on: https://review.openstack.org/512454 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-05Add a unit test for lagopus_libHirofumi Ichihara
This adds a unit test for networking_lagopus.agent.lagopus_lib and also fixes tox.ini. Change-Id: I6d9c86836ea82b5a5d14ec70813e43705b904e26 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 04 Dec 2017 15:37:24 +0000 Reviewed-on: https://review.openstack.org/525218 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-12-04Merge "adapt to neutron_lib"Zuul
2017-11-30Fix devstack plugin1.0.0Hirofumi Ichihara
Disable systemd for lagopus process. This patch also adds some options for devstack and fixes README how to run devstack. Change-Id: Icd7457136457987b15bbcb8b08ea77895656355f Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 30 Nov 2017 11:49:06 +0000 Reviewed-on: https://review.openstack.org/524145 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-11-29adapt to neutron_libItsuro Oda
Change-Id: I19f214d3955b78eabea6b89563e81bd46d8c76a0 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 04 Dec 2017 13:31:28 +0000 Reviewed-on: https://review.openstack.org/523641 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-10-17Fix unbind nic in devstack pluginHirofumi Ichihara
Devstack plugin re-binds dpdk nics when unstack.sh runs although it must unbind. This patch fixes the issue so that it unbinds dpdk nics. Change-Id: I4b1c38044131dbe826113fdb967d56c9ddc2f495 Notes (review): Code-Review+1: Itsuro Oda <oda@valinux.co.jp> Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 18 Oct 2017 00:43:15 +0000 Reviewed-on: https://review.openstack.org/512521 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-10-06make restart robustItsuro Oda
a controller, channel and bridge is made if it does not exist. contoller name and chennel name is related to bridge name for this purpose. this patch includes a bug fix and some cleanups too. Change-Id: I58c449953ae7fb696e93b87432c069998a72c7de Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 06 Oct 2017 03:37:14 +0000 Reviewed-on: https://review.openstack.org/509942 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-10-05use systemd to start/stop lagopusItsuro Oda
Change-Id: Ie8b4867846c557843163bce7ab32c63d4da781e3 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 05 Oct 2017 06:21:03 +0000 Reviewed-on: https://review.openstack.org/509695 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-10-05add change dirItsuro Oda
generate_dsl.py assumes lagopus_template.dsl exists current directory. Change-Id: Ic5177d60d9488793071f7975ce40190bbb8eb559 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 05 Oct 2017 05:56:57 +0000 Reviewed-on: https://review.openstack.org/509686 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-10-05add necessary config importItsuro Oda
Change-Id: I7c6bcf18ad68cc630a233a396a65354fabf28a53 Notes (review): Verified+1: Zuul Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 05 Oct 2017 03:53:13 +0000 Reviewed-on: https://review.openstack.org/509674 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-10-03Intial Framework for networking-lagopusHirofumi Ichihara
This is an initial framework for networking-lagopus contains ML2 Drivers and Agent for Lagopus switch. Change-Id: Id7079f8e28fef01bdfca6928bf339eaaf4d00cd9 Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 03 Oct 2017 05:51:26 +0000 Reviewed-on: https://review.openstack.org/509081 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-09-27Initial Cookiecutter Commit.Hirofumi Ichihara
Change-Id: Ib6beddb8eeb7fd770d68fd5f443b411a94dacaed Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 27 Sep 2017 08:42:56 +0000 Reviewed-on: https://review.openstack.org/507781 Project: openstack/networking-lagopus Branch: refs/heads/master
2017-09-20Added .gitreviewOpenStack Project Creator