summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LICENSE4
-rw-r--r--mgr/mgr/vnfreg/serializers.py13
2 files changed, 12 insertions, 5 deletions
diff --git a/LICENSE b/LICENSE
index f83f847..356b8d5 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2017 ZTE Corporation.
+Copyright 2018 ZTE Corporation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -12,4 +12,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-Micro service of vnf configure management.
+Micro service of gvnfm vnf configure management.
diff --git a/mgr/mgr/vnfreg/serializers.py b/mgr/mgr/vnfreg/serializers.py
index d2b446c..9157e21 100644
--- a/mgr/mgr/vnfreg/serializers.py
+++ b/mgr/mgr/vnfreg/serializers.py
@@ -59,7 +59,9 @@ class CpSerializer(serializers.Serializer):
allow_null=True)
cpdId = serializers.CharField(
help_text="cpdId",
- required=True, max_length=200, allow_null=True)
+ required=True,
+ max_length=200,
+ allow_null=True)
class SpecificDataSerializer(serializers.Serializer):
@@ -76,9 +78,14 @@ class SpecificDataSerializer(serializers.Serializer):
class ConfigDataSerializer(serializers.Serializer):
- cp = CpSerializer(help_text="cps", many=True, allow_null=True)
+ cp = CpSerializer(
+ help_text="cps",
+ many=True,
+ allow_null=True)
vnfSpecificData = SpecificDataSerializer(
- help_text="vnfSpecificData", required=True, allow_null=True)
+ help_text="vnfSpecificData",
+ required=True,
+ allow_null=True)
class VnfConfigSerializer(serializers.Serializer):