Expose API infra_workload
[multicloud/framework.git] / multivimbroker / manage.py
1 # Copyright (c) 2017 Wind River Systems, Inc.
2 # Copyright (c) 2017-2018 VMware, Inc.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at:
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
13 import os
14 import sys
15
16 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "multivimbroker.settings")
17
18 if __name__ == "__main__":
19     from django.core.management import execute_from_command_line
20     execute_from_command_line(sys.argv)