From 5024b9dfdb5c27c27b3e4230e535fb2515d8d987 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 000000000..b99e45f42 --- /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()