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