]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add quantum-nec-agent to bin directory.
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Thu, 13 Sep 2012 04:36:09 +0000 (13:36 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Thu, 13 Sep 2012 04:38:12 +0000 (13:38 +0900)
Fixes bug 1050047

Change-Id: I8b946b08b0dc58881a9f149d17623462e058debc

bin/quantum-nec-agent [new file with mode: 0755]

diff --git a/bin/quantum-nec-agent b/bin/quantum-nec-agent
new file mode 100755 (executable)
index 0000000..b99e45f
--- /dev/null
@@ -0,0 +1,24 @@
+#!/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 quantum.plugins.nec.agent.nec_quantum_agent import main
+
+main()