From 7e2db08e6f4ed5f0d640b4c07189a8edd0b28b28 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Thu, 13 Sep 2012 13:36:09 +0900 Subject: [PATCH] Add quantum-nec-agent to bin directory. Fixes bug 1050047 Change-Id: I8b946b08b0dc58881a9f149d17623462e058debc --- bin/quantum-nec-agent | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 bin/quantum-nec-agent diff --git a/bin/quantum-nec-agent b/bin/quantum-nec-agent new file mode 100755 index 0000000000..b99e45f42b --- /dev/null +++ b/bin/quantum-nec-agent @@ -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()