summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorZhijiang Hu <hu.zhijiang@zte.com.cn>2017-03-23 02:06:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-23 02:06:28 +0000
commit8eeced263cd35000623a69243766f0970055da69 (patch)
tree0a316b904811de50f340e4fc52d2ae6576f3d219 /deploy
parent841d020c77f1d9aac5f66f3320444c83b31ef07a (diff)
parentb03cd467c869e2bf0eba5c3093aa078590d10bf7 (diff)
Merge "add missing license"
Diffstat (limited to 'deploy')
-rw-r--r--deploy/common/query.py10
-rw-r--r--deploy/config/network.py8
-rw-r--r--deploy/post/glance.py8
-rw-r--r--deploy/post/nova.py8
-rw-r--r--deploy/prepare.sh8
-rw-r--r--deploy/prepare/execute.py8
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 a386b5b5..9f03bc15 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