The right way is to create two DGs and put a process in between that checks for 
the connected state in the netconf mount.

If you really need to do it in one DG – then you can use a for loop node that 
tests a condition.

You may want to either use an execute node to test or you can use rest api call 
node to check the status of the mount point in the controller config tree to 
see if the state is “connected”.

Brian


From: [email protected] 
[mailto:[email protected]] On Behalf Of Abdelmuhaimen Seaudi
Sent: Thursday, October 26, 2017 3:21 AM
To: [email protected]
Cc: abdelmuhaimen. seaudi <[email protected]>
Subject: [onap-discuss] DG Builder (wait or sleep ?)

Hi,

When I mount a device from a DG using rest api plugin, it can take a while for 
the device to be mounted.

I need to have the DG wait or sleep or loop idle to check that the device 
status is "connected" before processing the next node.

Is there a way to perform such action of waiting in DG Builder ?

Thanks.

Abdelmuhaimen Seaudi, CCIE # 25265
Email: [email protected]<mailto:[email protected]>
Skype: aseaudi
LinkedIn: 
www.linkedin.com/in/aseaudi<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=dQoC6cl0XubEahomHMtDaOADza0NLi4asyZ_QbQ4hPA&s=Wk3olg_jjrJfRtO9tQR3F2_3axmoC_XZat41b7lMtaQ&e=>
Telephone: +2012 84644 733

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to