diff options
author | 2019-10-24 09:23:25 +0200 | |
---|---|---|
committer | 2019-10-24 09:23:25 +0200 | |
commit | aa9be1c8230a62adc11b99296e43209b158d7b37 (patch) | |
tree | 4f125a7cf0f7c94bbb93942b03928ce011a554c2 /docs/guides/onap-user/instantiate/pre_instantiation/index.rst | |
parent | 53b1bbd6de10c8b91c3c72c59156ff2d96ba525a (diff) |
updates for ElAlto in User-Guides
Issue-ID: DOC-566
Signed-off-by: Rene_Robert <rene.robert@orange.com>
Change-Id: Ib5a0509a4a9e8a63a473040a2a4757264bd3b24a
Diffstat (limited to 'docs/guides/onap-user/instantiate/pre_instantiation/index.rst')
-rw-r--r-- | docs/guides/onap-user/instantiate/pre_instantiation/index.rst | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/docs/guides/onap-user/instantiate/pre_instantiation/index.rst b/docs/guides/onap-user/instantiate/pre_instantiation/index.rst index ca9af13d7..6a4870242 100644 --- a/docs/guides/onap-user/instantiate/pre_instantiation/index.rst +++ b/docs/guides/onap-user/instantiate/pre_instantiation/index.rst @@ -38,7 +38,40 @@ Those informations will be available to all service instantiation (you only need to declare them once in ONAP) -Example for "Owning Entity" named "Test" +Example for "Owning Entity" named "OE-Generic" + +For Owning_Entity, it is important to declare the information in AAI +with a UUID value for "owning-entity-id". That value will be necessary +to instantiate a service with SO using GR_API. + +:: + + curl -X PUT \ + https://aai.api.sparky.simpledemo.onap.org:30233/aai/v13/business/owning-entities/owning-entity/8874891f-5120-4b98-b452-46284513958d \ + -H 'Accept: application/json' \ + -H 'Authorization: Basic QUFJOkFBSQ==' \ + -H 'Content-Type: application/json' \ + -H 'X-FromAppId: AAI' \ + -H 'X-TransactionId: get_aai_subscr' \ + -H 'cache-control: no-cache' \ + -d '{ + "owning-entity-name": "OE-Generic", + "owning-entity-id": "8874891f-5120-4b98-b452-46284513958d" + }' + +:: + + curl -X GET \ + https://aai.api.sparky.simpledemo.onap.org:30233/aai/v16/business/owning-entities \ + -H 'Accept: application/json' \ + -H 'Authorization: Basic QUFJOkFBSQ==' \ + -H 'Content-Type: application/json' \ + -H 'X-FromAppId: AAI' \ + -H 'X-TransactionId: get_aai_subscr' \ + -H 'cache-control: no-cache' + + +To declare the Owning Entity in VID: :: @@ -48,9 +81,10 @@ Example for "Owning Entity" named "Test" -H 'Content-Type: application/json' \ -H 'cache-control: no-cache' \ -d '{ - "options": ["Test"] + "options": ["OE-Generic"] }' + Example for "platform" named "Test_Platform" :: |