aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/ns_vnfs/tests
diff options
context:
space:
mode:
authorRuoyu Ying <ruoyu.ying@intel.com>2018-09-20 00:33:09 +0800
committerRuoyu Ying <ruoyu.ying@intel.com>2018-09-20 00:34:45 +0800
commit989808eea305b662691e92e2e4fbbab1ecfed793 (patch)
tree7d0c30be51f201f1ea7e81c7a6c840384c4e9248 /lcm/ns_vnfs/tests
parent2f1382b6ef609bcc57f8848c6211b9cfff301c4f (diff)
Update attribute name in OOF response
Update the attribute name in OOF response and refine the structure of the code. Change-Id: Ibc5f17857a1ac555b0df4a24b1fde97827cb47cb Issue-ID: VFC-941 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
Diffstat (limited to 'lcm/ns_vnfs/tests')
-rw-r--r--lcm/ns_vnfs/tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcm/ns_vnfs/tests/tests.py b/lcm/ns_vnfs/tests/tests.py
index 6669fbc7..db5931e9 100644
--- a/lcm/ns_vnfs/tests/tests.py
+++ b/lcm/ns_vnfs/tests/tests.py
@@ -1718,7 +1718,7 @@ vnf_place_request = {
{"key": "physicalLocationId",
"value": "DLLSTX1223"
},
- {"key": "oofDirectives",
+ {"key": "oof_directives",
"value": {
"directives": [
{
@@ -1726,7 +1726,7 @@ vnf_place_request = {
"type": "tocsa.nodes.nfv.Vdu.Compute",
"directives": [
{
- "type": "flavor_directive",
+ "type": "flavor_directives",
"attributes": [
{
"attribute_name": "flavor_name",