nova-cert revision 2521
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#!/usr/bin/python2.6
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Licensed under the Apache License, Version 2.0 (the "License"); you may
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# not use this file except in compliance with the License. You may obtain
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# a copy of the License at
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# http://www.apache.org/licenses/LICENSE-2.0
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Unless required by applicable law or agreed to in writing, software
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# License for the specific language governing permissions and limitations
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# under the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeimport os
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeimport smf_include
f71f7a61dec7c9089378d14493ad564a1dedf0b5neil_a_wilson
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipedef start():
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe smf_include.smf_subprocess("/usr/lib/nova/nova-cert")
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeif __name__ == "__main__":
186f94aaee0ba7f253e09c491a3a513cbabea65fjcambon os.putenv("LC_ALL", "C")
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe smf_include.smf_main()
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe