Hi  Shwetha,
    Robot has scripts for onboarding of vFW and instantiating. You can
start looking at "/oom/kubernetes/robot/demo-k8s.sh" script.
This script internally invokes the robot script which does the entire SDC
design of the vFW templates.

To dig deeper into the robot scripts, go inside the pod and look at the
robot commands. For your E2E slicing work, you can re-use some of the stuff
(with modification).
Robot scripts are present in the "/var/opt/ONAP/robot" path inside the pod.

To begin with, look into the "init_customer" in
"/oom/kubernetes/robot/demo-k8s.sh" and trace the calls. Robot uses selenium
internally and drives the flow using the browsers.
Internally the script that is called is "demo.robot"
(:/var/opt/ONAP/robot/testsuites).
You can create a copy of the commands in demo.robot and do different things
(like creating VF/service etc. for e2e testing)

thanks,
-RP


On Wed, Jul 7, 2021 at 11:34 AM shwetha.r60 via lists.onap.org <shwetha.r60=
[email protected]> wrote:

> Hi,
>
> we are trying to automate the E2E network slicing use case .
>
> as a first step we need to onboard resources and services to the SDC. i am
> new to robot scripting.
>
> i checked sdc_interface.robot but still i felt it is confusing to
> understand.
>
> https://wiki.onap.org/display/DW/Template+Design+for+Option+1
>
> here is the above link of all the resources and service which i need to
> onboard.
>
> is there a way we can onboard as csar for particular resource and services
> in robot scripts.
>
> Please any help me regarding this much appreciated.
>
> Thanks
> Shwetha
> 
>
>

-- 

*CRN Top 10 Coolest Edge Computing Startups of 2020
<https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23374): https://lists.onap.org/g/onap-discuss/message/23374
Mute This Topic: https://lists.onap.org/mt/84038861/21656
Mute #robot:https://lists.onap.org/g/onap-discuss/mutehashtag/robot
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to