diff options
author | Yong Sheng Gong <gongysh@unitedstack.com> | 2013-07-10 18:38:21 +0800 |
---|---|---|
committer | Yong Sheng Gong <gongysh@unitedstack.com> | 2013-08-16 10:10:30 +0800 |
commit | f0f81ad7adf28454a2a44c98bdda0f1c1eca903d (patch) | |
tree | 541b66abc9093cf9e1b2cd3326419dc6aea63f13 /bin | |
parent | d6e9767162a912b749de1d4d69f6604634d0c8df (diff) | |
download | neutron-f0f81ad7adf28454a2a44c98bdda0f1c1eca903d.tar.gz |
remove binaries under bin
bp: remove-bin-directory
There are some binaries which are expected to run in branch, so
we have to keep them there now.
Change-Id: I5134d975cbd69f929a325ab80a6d19ce1f122656
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/quantum-check-nvp-config | 29 | ||||
-rwxr-xr-x | bin/quantum-db-manage | 26 | ||||
-rwxr-xr-x | bin/quantum-debug | 20 | ||||
-rwxr-xr-x | bin/quantum-dhcp-agent | 20 | ||||
-rwxr-xr-x | bin/quantum-hyperv-agent | 26 | ||||
-rwxr-xr-x | bin/quantum-l3-agent | 20 | ||||
-rwxr-xr-x | bin/quantum-lbaas-agent | 26 | ||||
-rwxr-xr-x | bin/quantum-linuxbridge-agent | 24 | ||||
-rwxr-xr-x | bin/quantum-metadata-agent | 20 | ||||
-rwxr-xr-x | bin/quantum-mlnx-agent | 25 | ||||
-rwxr-xr-x | bin/quantum-nec-agent | 24 | ||||
-rwxr-xr-x | bin/quantum-netns-cleanup | 20 | ||||
-rwxr-xr-x | bin/quantum-ns-metadata-proxy | 20 | ||||
-rwxr-xr-x | bin/quantum-openvswitch-agent | 24 | ||||
-rwxr-xr-x | bin/quantum-ovs-cleanup | 26 | ||||
-rwxr-xr-x | bin/quantum-ryu-agent | 24 | ||||
-rwxr-xr-x | bin/quantum-server | 27 | ||||
-rwxr-xr-x | bin/quantum-usage-audit | 66 |
18 files changed, 0 insertions, 467 deletions
diff --git a/bin/quantum-check-nvp-config b/bin/quantum-check-nvp-config deleted file mode 100755 index 57bdbc2fd1..0000000000 --- a/bin/quantum-check-nvp-config +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2013 Nicira, Inc. -# All Rights Reserved -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless equired by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# -# @author: Aaron Rosen, VMware - -import os -import sys -sys.path.insert(0, os.getcwd()) - -from neutron.plugins.nicira.check_nvp_config import main - - -main(sys.argv) diff --git a/bin/quantum-db-manage b/bin/quantum-db-manage deleted file mode 100755 index 24a491ec65..0000000000 --- a/bin/quantum-db-manage +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2012 New Dream Network, LLC (DreamHost) -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) - -from neutron.db.migration.cli import main - - -main() diff --git a/bin/quantum-debug b/bin/quantum-debug deleted file mode 100755 index 5c4c67265a..0000000000 --- a/bin/quantum-debug +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from neutron.debug.shell import main -main() diff --git a/bin/quantum-dhcp-agent b/bin/quantum-dhcp-agent deleted file mode 100755 index a160a6a565..0000000000 --- a/bin/quantum-dhcp-agent +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from neutron.agent.dhcp_agent import main -main() diff --git a/bin/quantum-hyperv-agent b/bin/quantum-hyperv-agent deleted file mode 100755 index 29c220838a..0000000000 --- a/bin/quantum-hyperv-agent +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2013 Cloudbase Solutions SRL -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) - -from neutron.plugins.hyperv.agent.hyperv_neutron_agent import main - - -main() diff --git a/bin/quantum-l3-agent b/bin/quantum-l3-agent deleted file mode 100755 index cd56f53845..0000000000 --- a/bin/quantum-l3-agent +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from neutron.agent.l3_agent import main -main() diff --git a/bin/quantum-lbaas-agent b/bin/quantum-lbaas-agent deleted file mode 100755 index dca1f932bc..0000000000 --- a/bin/quantum-lbaas-agent +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2013 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) - -from neutron.services.loadbalancer.drivers.haproxy.agent import main - - -main() diff --git a/bin/quantum-linuxbridge-agent b/bin/quantum-linuxbridge-agent deleted file mode 100755 index ce7d1e081b..0000000000 --- a/bin/quantum-linuxbridge-agent +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2012 Red Hat -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) -from neutron.plugins.linuxbridge.agent.linuxbridge_neutron_agent import main - -main() diff --git a/bin/quantum-metadata-agent b/bin/quantum-metadata-agent deleted file mode 100755 index 8834909709..0000000000 --- a/bin/quantum-metadata-agent +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from neutron.agent.metadata.agent import main -main() diff --git a/bin/quantum-mlnx-agent b/bin/quantum-mlnx-agent deleted file mode 100755 index 56d03bf033..0000000000 --- a/bin/quantum-mlnx-agent +++ /dev/null @@ -1,25 +0,0 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 -# -# Copyright 2013 Mellanox Technologies, Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) - -from neutron.plugins.mlnx.agent.eswitch_neutron_agent import main - - -main() diff --git a/bin/quantum-nec-agent b/bin/quantum-nec-agent deleted file mode 100755 index 796e4ddc7f..0000000000 --- a/bin/quantum-nec-agent +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2012 NEC Corporation -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) -from neutron.plugins.nec.agent.nec_neutron_agent import main - -main() diff --git a/bin/quantum-netns-cleanup b/bin/quantum-netns-cleanup deleted file mode 100755 index 86fbdbe011..0000000000 --- a/bin/quantum-netns-cleanup +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from neutron.agent.netns_cleanup_util import main -main() diff --git a/bin/quantum-ns-metadata-proxy b/bin/quantum-ns-metadata-proxy deleted file mode 100755 index 3a8c3b0fc2..0000000000 --- a/bin/quantum-ns-metadata-proxy +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from neutron.agent.metadata.namespace_proxy import main -main() diff --git a/bin/quantum-openvswitch-agent b/bin/quantum-openvswitch-agent deleted file mode 100755 index ccba60419c..0000000000 --- a/bin/quantum-openvswitch-agent +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2012 Red Hat -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) -from neutron.plugins.openvswitch.agent.ovs_neutron_agent import main - -main() diff --git a/bin/quantum-ovs-cleanup b/bin/quantum-ovs-cleanup deleted file mode 100755 index b77775d6cd..0000000000 --- a/bin/quantum-ovs-cleanup +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 OpenStack Foundation. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) - -from neutron.agent.ovs_cleanup_util import main - - -main() diff --git a/bin/quantum-ryu-agent b/bin/quantum-ryu-agent deleted file mode 100755 index d6815a3c3a..0000000000 --- a/bin/quantum-ryu-agent +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2012 Isaku Yamahata <yamahata at private email ne jp> -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import os -import sys -sys.path.insert(0, os.getcwd()) -from neutron.plugins.ryu.agent.ryu_neutron_agent import main - -main() diff --git a/bin/quantum-server b/bin/quantum-server deleted file mode 100755 index 54ee21bd72..0000000000 --- a/bin/quantum-server +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2011 Nicira Neworks, Inc. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import eventlet -eventlet.monkey_patch() - -import os -import sys -sys.path.insert(0, os.getcwd()) -from neutron.server import main as server - -server() diff --git a/bin/quantum-usage-audit b/bin/quantum-usage-audit deleted file mode 100755 index b1c1b1203a..0000000000 --- a/bin/quantum-usage-audit +++ /dev/null @@ -1,66 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright (c) 2012 New Dream Network, LLC (DreamHost) -# Author: Julien Danjou <julien@danjou.info> -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -"""Cron script to generate usage notifications for networks, ports and -subnets. - -""" - -from oslo.config import cfg - -from neutron import context -from neutron import manager -from neutron.common import config -from neutron.openstack.common.notifier import api as notifier_api - -if __name__ == '__main__': - cfg.CONF(project='neutron') - config.setup_logging(cfg.CONF) - - context = context.get_admin_context() - plugin = manager.NeutronManager.get_plugin() - for network in plugin.get_networks(context): - notifier_api.notify(context, - notifier_api.publisher_id('network'), - 'network.exists', - notifier_api.INFO, - {'network': network}) - for subnet in plugin.get_subnets(context): - notifier_api.notify(context, - notifier_api.publisher_id('network'), - 'subnet.exists', - notifier_api.INFO, - {'subnet': subnet}) - for port in plugin.get_ports(context): - notifier_api.notify(context, - notifier_api.publisher_id('network'), - 'port.exists', - notifier_api.INFO, - {'port': port}) - for router in plugin.get_routers(context): - notifier_api.notify(context, - notifier_api.publisher_id('network'), - 'router.exists', - notifier_api.INFO, - {'router': router}) - for floatingip in plugin.get_floatingips(context): - notifier_api.notify(context, - notifier_api.publisher_id('network'), - 'floatingip.exists', - notifier_api.INFO, - {'floatingip': floatingip}) |