Hi Seshu,
after some further analysis. I don’t see how step 4) can be avoided by
declaring an input parameter in the service model.
If I look at the code where that flag is checked,
https://git.onap.org/so/tree/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateResources.groovy
String isContainsWanResource = networkResourceList.isEmpty() ? "false" : "true"
//if no networkResource, get SDNC config from properties file
if( "false".equals(isContainsWanResource)) {
String serviceNeedSDNC = "mso.workflow.custom." + serviceModelName +
".sdnc.need"
isContainsWanResource = BPMNProperties.getProperty(serviceNeedSDNC,
isContainsWanResource)
}
it seems that the only option is to apply the config in the application.yaml or
directly in the generated configmap.
Regards
David
On 19 Feb 2020, at 13:02, seshu kumar m
<[email protected]<mailto:[email protected]>> wrote:
Hi David
As is discussed and explained :
1) setting the correct ORCHESTRATION_URI and VNF_PARAM_XSD for each NF in
catalogdb.vnf_recipe
This is something that is not yet completely automated in SO. This will be a
onetime job.
You can also introduce the new sql script/entry to the existing scripts and
bring up the pods (flyway scripts).
For custom recipes, We are working on a dynamic BPMN flow where the intension
is to get the new recipes and their entries automated to SO.
2) inserting the BBS NFs model information into catalogb.vnf_resource and
catalogdb.vnf_resource_customization
3) updating the RESOURCE_ORDER for BBS service model in catalogdb.service
These 2 should be a part of the distribution, can you please recheck if there
are any exceptions in the flow.
4) setting the mso.workflow.custom.BBS_E2E_Service.sdnc.need flag to true in
dev-so-so-bpmn-infra-app-configmap
Config map is built from the application.yaml of the corresponding pod. One can
have an entry for having this key and its default value instead of making the
change on the fly.
I would recommend using the get_Input for your specific case.
Please get back in case of any further clarifications.
Thanks and Regards,
M Seshu Kumar
Senior System Architect
P&S General Department, Cloudify Network OSDT
Huawei Technologies India Pvt. Ltd.
Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield
Bengaluru-560066, Karnataka.
Tel: + 91-80-49160700 , Mob: 9845355488
___________________________________________________________________________________________________
This e-mail and its attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed above.
Any use of the information contained herein in any way (including, but not
limited to, total or partial disclosure, reproduction, or dissemination) by
persons other than the intended recipient(s) is prohibited. If you receive this
e-mail in error, please notify the sender by phone or email immediately and
delete it!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
On Behalf Of David Perez Caparros
Sent: Wednesday, February 19, 2020 3:43 PM
To: [email protected]<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: [onap-bbs] SO and use case specific configuration
Hi SO & SDC experts,
in order to set up use cases such as BBS, we need to perform a set of manual
configurations in SO database
(https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.onap.org%2Fpages%2Fviewpage.action%3FpageId%3D75303137%23BBSDocumentation(Frankfurt)-SO&data=02%7C01%7CDavid.PerezCaparros%40swisscom.com%7C9c95ab993b6946b1335008d7b533b1f0%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637177105937550101&sdata=BmnuYA6Mk1z520gzJqdTkVjScp7Isev222QUVBL8DGQ%3D&reserved=0).
Some of the required steps are:
1) setting the correct ORCHESTRATION_URI and VNF_PARAM_XSD for each NF in
catalogdb.vnf_recipe
2) inserting the BBS NFs model information into catalogb.vnf_resource and
catalogdb.vnf_resource_customization
3) updating the RESOURCE_ORDER for BBS service model in catalogdb.service
4) setting the mso.workflow.custom.BBS_E2E_Service.sdnc.need flag to true in
dev-so-so-bpmn-infra-app-configmap
Is there a way to specify such service specific configuration in SDC as part of
the service model and let SO apply it during service distribution?
Regards,
David
--
David Pérez Caparrós
Lead DevOps Engineer, 5G Service Orchestration Operations & Network
Engineering, Mobile Swisscom (Switzerland)
[email protected]<mailto:[email protected]>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20084): https://lists.onap.org/g/onap-discuss/message/20084
Mute This Topic: https://lists.onap.org/mt/71449927/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-