opennetworkinglab / aether-amp

1 stars 7 forks source link

Programmatic ROC API is not working #12

Open panitsasi opened 2 months ago

panitsasi commented 2 months ago

Hello,

I am trying to use the Programmatic ROC API to configure the network but it does not work. First of all, all the important pods are up and running: image

I am attaching a for reference: image

For the {enterprise-id} i use "the-enterprise" key while {site-id} i use the "site-1" key, which are the default values. Do I need to use an API key and if yes where can i find it ? It seems that the key in the dashboard is empty: image

Finally, in other API requests I have seen that I need to specify a {target} value, is this related to the 5G components (SDCore,SDRAN) ? What value do I need to use ? image

llpeterson commented 2 months ago

Are you starting in aether-onramp?

https://github.com/opennetworkinglab/aether-onramp

Starting with AMP (without the Core) isn't a meaningful configuration.

Also see: https://docs.aetherproject.org/master/onramp/overview.html

panitsasi commented 2 months ago

I have followed all the instructions in the Quick Start (https://docs.aetherproject.org/master/onramp/start.html) and Closer Look (https://docs.aetherproject.org/master/onramp/inspect.html) documentation. Therefore, I have already deployed the Aether OnRamp, I have created a Kubernetes Cluster and I have successfully run the emulated RAN tests. Now, I would like to use the REST API to configure the network and see if I can use it with different open source 5G implementations like OAI,srsRAN etc

llpeterson commented 2 months ago

That's good to hear. It would be great to get an srsRAN blueprint in OnRamp once you've succeeded. (An OAI blueprint is already in the works.)

My suggestion is that you move your questions to the #aether-onramp channel on Slack. That way you'll get the most eyes on whatever issues you face. (Let me know if you are not already subscribed to the workspace.)

Looking closer at your first message, it appears ROC is up and running but your queries are not working. Have you tried the GUI?

panitsasi commented 2 months ago

Thank you very much for your responses. I am not subscribed to the workspace, and I would love to connect.

I have tried the GUI and it works: image

However, I would like to use the API instead of the GUI, to configure/update the network etc. I tried different GET/POST requests but it did not work.

llpeterson commented 2 months ago

We haven't exercised the API much recently (apart from the GUI), so it's possible something is amiss. I'll need your email to invite you to Slack. Google me and it's pretty easy to reach me via LinkedIn or email to Princeton.

panitsasi commented 2 months ago

I sent you an email. Thanks again!