rename neutron agent from "ofswitch" to "ofagent"
suggested by some openstack folks. see https://review.openstack.org/#/c/71791 Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
2a95c185e1
commit
2743eb4da5
@ -15,5 +15,5 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from ryu.cmd.ofs_neutron_agent import main
|
||||
from ryu.cmd.ofa_neutron_agent import main
|
||||
main()
|
@ -215,8 +215,8 @@ latex_documents = [
|
||||
man_pages = [
|
||||
('index', 'ryu', u'ryu Documentation',
|
||||
[u'ryu development team'], 1),
|
||||
('man/neutron_ofswitch_agent', 'neutron-ofswitch-agent',
|
||||
u'neutron ofswitch agent',
|
||||
('man/neutron_ofagent_agent', 'neutron-ofagent-agent',
|
||||
u'neutron ofagent agent',
|
||||
[u'ryu development team'], 1),
|
||||
('man/rpc_cli', 'rpc-cli', u'a simple msgpack-rpc client',
|
||||
[u'ryu development team'], 1),
|
||||
|
20
doc/source/man/neutron_ofagent_agent.rst
Normal file
20
doc/source/man/neutron_ofagent_agent.rst
Normal file
@ -0,0 +1,20 @@
|
||||
:orphan:
|
||||
|
||||
neutron-ofagent-agent manual page
|
||||
=================================
|
||||
|
||||
Synoposis
|
||||
---------
|
||||
**neutron-ofagent-agent** [*options*]
|
||||
|
||||
Description
|
||||
-----------
|
||||
:program:`neutron-ofagent-agent` is a neutron agent for ofagent ML2 driver.
|
||||
|
||||
Options
|
||||
-------
|
||||
-h, --help
|
||||
|
||||
Author
|
||||
------
|
||||
Ryu development team
|
@ -1,20 +0,0 @@
|
||||
:orphan:
|
||||
|
||||
neutron-ofswitch-agent manual page
|
||||
==================================
|
||||
|
||||
Synoposis
|
||||
---------
|
||||
**neutron-ofswitch-agent** [*options*]
|
||||
|
||||
Description
|
||||
-----------
|
||||
:program:`neutron-ofswitch-agent` is a neutron agent for ofswitch ML2 driver.
|
||||
|
||||
Options
|
||||
-------
|
||||
-h, --help
|
||||
|
||||
Author
|
||||
------
|
||||
Ryu development team
|
@ -90,7 +90,7 @@ run_tests() {
|
||||
run_pylint() {
|
||||
echo "Running pylint ..."
|
||||
PYLINT_OPTIONS="--rcfile=.pylintrc --output-format=parseable"
|
||||
PYLINT_INCLUDE="ryu bin/rpc-cli bin/neutron-ofswitch-agent ryu/tests/bin/ryu-client ryu/tests/bin/of-config-cli"
|
||||
PYLINT_INCLUDE="ryu bin/rpc-cli bin/neutron-ofagent-agent ryu/tests/bin/ryu-client ryu/tests/bin/of-config-cli"
|
||||
export PYTHONPATH=$PYTHONPATH:.ryu
|
||||
PYLINT_LOG=pylint.log
|
||||
|
||||
|
@ -55,17 +55,17 @@ CONF.register_cli_opts([
|
||||
|
||||
def main():
|
||||
try:
|
||||
CONF(project='ryu', version='ofs_neutron_agent %s' % version,
|
||||
CONF(project='ryu', version='ofa_neutron_agent %s' % version,
|
||||
default_config_files=['/usr/local/etc/ryu/ryu.conf'])
|
||||
except cfg.ConfigFilesNotFoundError:
|
||||
CONF(project='ryu', version='ofs_neutron_agent %s' % version)
|
||||
CONF(project='ryu', version='ofa_neutron_agent %s' % version)
|
||||
|
||||
osn_config.setup_logging(CONF)
|
||||
|
||||
app_lists = CONF.app_lists + CONF.app
|
||||
if not app_lists:
|
||||
app_lists = ['ryu.app.ofctl.service',
|
||||
'neutron.plugins.ofswitch.agent.ofs_neutron_agent']
|
||||
'neutron.plugins.ofagent.agent.ofa_neutron_agent']
|
||||
|
||||
app_mgr = AppManager.get_instance()
|
||||
app_mgr.load_apps(app_lists)
|
Loading…
Reference in New Issue
Block a user