diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-03-21 19:19:58 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-03-21 19:21:18 +0800 |
commit | b03cd467c869e2bf0eba5c3093aa078590d10bf7 (patch) | |
tree | 53a91a86d75670a013b05524866b32604dbc1b96 | |
parent | e4485f2bb507a77012e4d21bd63357ef04b1d204 (diff) |
add missing license
Change-Id: Ie187f76db9ae7518c4fb129b4571cedbd7d931c6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r-- | deploy/common/query.py | 10 | ||||
-rw-r--r-- | deploy/config/network.py | 8 | ||||
-rw-r--r-- | deploy/post/glance.py | 8 | ||||
-rw-r--r-- | deploy/post/nova.py | 8 | ||||
-rw-r--r-- | deploy/prepare.sh | 8 | ||||
-rw-r--r-- | deploy/prepare/execute.py | 8 |
6 files changed, 50 insertions, 0 deletions
diff --git a/deploy/common/query.py b/deploy/common/query.py index 9b1adc2c..714abc6a 100644 --- a/deploy/common/query.py +++ b/deploy/common/query.py @@ -1,3 +1,13 @@ +############################################################################## +# Copyright (c) 2017 ZTE Coreporation and others. +# feng.xiaowei@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + + def find(function, sequence, default=None): for s in sequence: if function(s): diff --git a/deploy/config/network.py b/deploy/config/network.py index ed14f95b..1b3277e7 100644 --- a/deploy/config/network.py +++ b/deploy/config/network.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Coreporation and others. +# feng.xiaowei@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## import yaml from deploy.common import query diff --git a/deploy/post/glance.py b/deploy/post/glance.py index 2422c7a4..7ea4b51d 100644 --- a/deploy/post/glance.py +++ b/deploy/post/glance.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Coreporation and others. +# feng.xiaowei@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## import os import glanceclient diff --git a/deploy/post/nova.py b/deploy/post/nova.py index 5c356a13..0ab42e27 100644 --- a/deploy/post/nova.py +++ b/deploy/post/nova.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Coreporation and others. +# feng.xiaowei@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## import novaclient.client import keystoneauth diff --git a/deploy/prepare.sh b/deploy/prepare.sh index 58d5a08f..d68a6a44 100644 --- a/deploy/prepare.sh +++ b/deploy/prepare.sh @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Coreporation and others. +# feng.xiaowei@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## #!/bin/bash SCRIPT_PATH=$(readlink -f $(dirname $0)) diff --git a/deploy/prepare/execute.py b/deploy/prepare/execute.py index c59d10ae..30319b2e 100644 --- a/deploy/prepare/execute.py +++ b/deploy/prepare/execute.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Coreporation and others. +# feng.xiaowei@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## import argparse import os |