From b03cd467c869e2bf0eba5c3093aa078590d10bf7 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Tue, 21 Mar 2017 19:19:58 +0800 Subject: add missing license Change-Id: Ie187f76db9ae7518c4fb129b4571cedbd7d931c6 Signed-off-by: SerenaFeng --- deploy/common/query.py | 10 ++++++++++ deploy/config/network.py | 8 ++++++++ deploy/post/glance.py | 8 ++++++++ deploy/post/nova.py | 8 ++++++++ deploy/prepare.sh | 8 ++++++++ deploy/prepare/execute.py | 8 ++++++++ 6 files changed, 50 insertions(+) (limited to 'deploy') 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 -- cgit 1.2.3-korg