Show respect to original authors

We copied some codes/frameworks from Nova, but frogot to add
the original file informations, this tries to add them back.

Change-Id: I310d94fc334b6e72dc5eafa316f1b4842066ccbe
This commit is contained in:
Zhenguo Niu 2017-09-20 11:13:44 +08:00
parent 09392f9a29
commit 511be25834
12 changed files with 62 additions and 11 deletions

View File

@ -1,4 +1,6 @@
# Copyright 2016 Huawei Technologies Co.,LTD. # Copyright 2016 Huawei Technologies Co.,LTD.
# Copyright 2014 Red Hat, Inc.
# Copyright 2013 Hewlett-Packard Development Company, L.P.
# All Rights Reserved. # All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
@ -13,6 +15,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/virt/ironic/driver.py
'''
import collections import collections
from ironicclient import exc as ironic_exc from ironicclient import exc as ironic_exc

View File

@ -14,7 +14,7 @@
# under the License. # under the License.
''' '''
Websocket proxy that is compatible with OpenStack Mogan. Websocket proxy that is based on websocketproxy.py from Nova.
Leverages websockify.py by Joel Martin Leverages websockify.py by Joel Martin
''' '''

View File

@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
'''
Leverages nova/consoleauth/manager.py
'''
"""Auth Components for Consoles.""" """Auth Components for Consoles."""
import time import time

View File

@ -13,6 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/virt/configdrive.py by Michael Still
'''
"""Config Drive v2 helper.""" """Config Drive v2 helper."""
import os import os

View File

@ -14,6 +14,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/api/metadata.py
'''
"""Server Metadata information.""" """Server Metadata information."""
import posixpath import posixpath

View File

@ -1,3 +1,7 @@
# Copyright 2012 OpenStack Foundation
# All Rights Reserved
# Copyright (c) 2012 NEC Corporation
# Licensed under the Apache License, Version 2.0 (the "License"); you may # 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 # not use this file except in compliance with the License. You may obtain
# a copy of the License at # a copy of the License at
@ -10,6 +14,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/network/neutronv2/api.py
'''
from neutronclient.common import exceptions as neutron_exceptions from neutronclient.common import exceptions as neutron_exceptions
from neutronclient.v2_0 import client as clientv20 from neutronclient.v2_0 import client as clientv20
from oslo_log import log as logging from oslo_log import log as logging

View File

@ -1,6 +1,6 @@
# Copyright 2017 Huawei Technologies Co.,LTD. # Copyright 2017 Huawei Technologies Co.,LTD.
# All Rights Reserved. # Copyright 2013 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may # 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 # not use this file except in compliance with the License. You may obtain
# a copy of the License at # a copy of the License at
@ -13,6 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/objects/aggregate.py
'''
from oslo_versionedobjects import base as object_base from oslo_versionedobjects import base as object_base
from mogan.db import api as dbapi from mogan.db import api as dbapi

View File

@ -1,4 +1,5 @@
# Copyright 2017 Huawei Technologies Co.,LTD. # Copyright 2017 Huawei Technologies Co.,LTD.
# Copyright 2013 IBM Corp.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # 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 # not use this file except in compliance with the License. You may obtain
@ -12,6 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/objects/keypair.py
'''
from oslo_versionedobjects import base as object_base from oslo_versionedobjects import base as object_base

View File

@ -1,6 +1,5 @@
# Copyright 2017 Intel # Copyright 2017 Intel.
# All Rights Reserved. # Copyright 2013 IBM Corp.
#
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # 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 # not use this file except in compliance with the License. You may obtain
@ -14,6 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/objects/instance_fault.py
'''
import itertools import itertools
from oslo_versionedobjects import base as object_base from oslo_versionedobjects import base as object_base

View File

@ -1,6 +1,5 @@
# Copyright 2017 Huawei Technologies Co.,LTD. # Copyright 2017 Huawei Technologies Co.,LTD.
# All Rights Reserved. # Copyright (c) 2013 OpenStack Foundation
#
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # 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 # not use this file except in compliance with the License. You may obtain
@ -14,6 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/objects/instance_group.py
'''
from oslo_log import log as logging from oslo_log import log as logging
from oslo_versionedobjects import base as object_base from oslo_versionedobjects import base as object_base

View File

@ -13,6 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/scheduler/client/report.py
'''
import functools import functools
import re import re
import time import time

View File

@ -1,3 +1,6 @@
# Copyright (c) 2011 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may # 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 # not use this file except in compliance with the License. You may obtain
# a copy of the License at # a copy of the License at
@ -10,6 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
'''
Leverages nova/scheduler/filter_scheduler.py
'''
"""The FilterScheduler is for creating servers. """The FilterScheduler is for creating servers.
You can customize this scheduler by specifying your own node Filters and You can customize this scheduler by specifying your own node Filters and