aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/moon_manager/api/pdp.py
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2018-03-01 20:09:39 +0100
committerThomas Duval <thomas.duval@orange.com>2018-03-01 20:19:51 +0100
commite07cfdce2ad7b6fb1e1857aea47ab7ffcb663eab (patch)
tree8adc89b39310d8344e6c3f49e29d3bcbae56d046 /moon_manager/moon_manager/api/pdp.py
parentdbd38cc0f28257772580d42905d2d398fc1d1705 (diff)
Add information about which API attribute is important or not.
In other terms, which attribute must be tested or not. Change-Id: I81d4270a41353aa1ec958aff74ee741e9d172fbc
Diffstat (limited to 'moon_manager/moon_manager/api/pdp.py')
-rw-r--r--moon_manager/moon_manager/api/pdp.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/moon_manager/moon_manager/api/pdp.py b/moon_manager/moon_manager/api/pdp.py
index 4f11135e..78931e1f 100644
--- a/moon_manager/moon_manager/api/pdp.py
+++ b/moon_manager/moon_manager/api/pdp.py
@@ -107,7 +107,7 @@ class PDP(Resource):
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
}
:internal_api: get_pdp
@@ -130,14 +130,14 @@ class PDP(Resource):
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
:return: {
"pdp_id1": {
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
}
:internal_api: add_pdp
@@ -169,7 +169,7 @@ class PDP(Resource):
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_pdp
"""
@@ -193,7 +193,7 @@ class PDP(Resource):
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
}
:internal_api: update_pdp