summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaopengzhang <zhang.maopeng1@zte.com.cn>2019-04-01 10:04:04 +0800
committermaopengzhang <zhang.maopeng1@zte.com.cn>2019-04-01 10:35:34 +0800
commite323832e4859d0c35cd417296aeffacc6e74615e (patch)
tree6d319b123b8cb18b7b4571f7ddd24b33c9ed10ab
parent2c914088688a6a87f60370b0c696bfd7480d26e9 (diff)
fix AffectedSapsSerializer description error
fix AffectedSapsSerializer description error Change-Id: I710e64da26161bfccf0ed1f3ae4e4c94f9e1bc14 Issue-ID: VFC-1213 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
-rw-r--r--lcm/ns/serializers/sol/affected_nss.py2
-rw-r--r--lcm/ns/serializers/sol/affected_pnfs.py2
-rw-r--r--lcm/ns/serializers/sol/affected_saps.py5
-rw-r--r--lcm/ns/serializers/sol/affected_vnffgs.py5
4 files changed, 8 insertions, 6 deletions
diff --git a/lcm/ns/serializers/sol/affected_nss.py b/lcm/ns/serializers/sol/affected_nss.py
index e6a3f6e6..c35b0830 100644
--- a/lcm/ns/serializers/sol/affected_nss.py
+++ b/lcm/ns/serializers/sol/affected_nss.py
@@ -51,7 +51,7 @@ class AffectedNssSerializer(serializers.Serializer):
choices=CHANGE_TYPE
)
changeResult = serializers.ChoiceField(
- help_text="Signals the type of change",
+ help_text="Signals the result of change identified by the 'changeType' attribute.",
required=True,
choices=CHANGE_RESULT
)
diff --git a/lcm/ns/serializers/sol/affected_pnfs.py b/lcm/ns/serializers/sol/affected_pnfs.py
index 4b01f6d7..c89d4a45 100644
--- a/lcm/ns/serializers/sol/affected_pnfs.py
+++ b/lcm/ns/serializers/sol/affected_pnfs.py
@@ -50,7 +50,7 @@ class AffectedPnfsSerializer(serializers.Serializer):
choices=CHANGE_TYPE
)
changeResult = serializers.ChoiceField(
- help_text="Signals the type of change",
+ help_text="Signals the result of change identified by the 'changeType' attribute.",
required=True,
choices=CHANGE_RESULT
)
diff --git a/lcm/ns/serializers/sol/affected_saps.py b/lcm/ns/serializers/sol/affected_saps.py
index eadd287e..b1091e5e 100644
--- a/lcm/ns/serializers/sol/affected_saps.py
+++ b/lcm/ns/serializers/sol/affected_saps.py
@@ -1,4 +1,5 @@
# Copyright (c) 2019, CMCC Technologies Co., Ltd.
+# Copyright 2019 ZTE Corporation.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -44,12 +45,12 @@ class AffectedSapsSerializer(serializers.Serializer):
help_text="Human readable name for the SAP.",
required=True)
changeType = serializers.ChoiceField(
- help_text="Signals the type of change",
+ help_text="Signals the type of lifecycle change",
required=True,
choices=CHANGE_TYPE
)
changeResult = serializers.ChoiceField(
- help_text="Signals the type of change",
+ help_text="Signals the result of change identified by the 'changeType' attribute.",
required=True,
choices=CHANGE_RESULT
)
diff --git a/lcm/ns/serializers/sol/affected_vnffgs.py b/lcm/ns/serializers/sol/affected_vnffgs.py
index 63e90278..3e5de99b 100644
--- a/lcm/ns/serializers/sol/affected_vnffgs.py
+++ b/lcm/ns/serializers/sol/affected_vnffgs.py
@@ -1,4 +1,5 @@
# Copyright (c) 2019, CMCC Technologies Co., Ltd.
+# Copyright 2019 ZTE Corporation.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -35,12 +36,12 @@ class AffectedVnffgsSerializer(serializers.Serializer):
required=True
)
changeType = serializers.ChoiceField(
- help_text="Signals the type of change",
+ help_text="Signals the type of lifecycle change.",
required=True,
choices=CHANGE_TYPE
)
changeResult = serializers.ChoiceField(
- help_text="Signals the type of change",
+ help_text="Signals the result of change identified by the 'changeType' attribute.",
required=True,
choices=const.CHANGE_RESULT
)