--Hi,I am trying to create a on demand bandwidth functionality in ONOS. I found that "intent" API available here "https://github.com/opennetworkinglab/onos-app-samples/blob/master/calendar/src/main/java/org/onosproject/calendar/BandwidthCalendarResource.java" can be used for same.I want to ask following things about it
- How can I know which port a switch is running on to? (It is a parameter in bandwidth caledar REST API). I need to pass it as a parameter in POST request of "/intent" api.
- Once I am able to make success POST REST API call on "/intent", how can I see if the bandwidth between switches used
- If I am able create a host intent using ONOS cli with command "add-host-intent 00:00:00:00:00:01/-1 00:00:00:00:00:02/-1", then why am not I able to use "00:00:00:00:00:01" and 00:00:00:00:00:02" as hostId when making POST type API call to "/intent" end point? After making said API request, I get error on ONOS server console that hostID must be of 19 characters.
attached are my screenshots. please helpE
Regards Sonali
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAEyy4s-qo2ALdxFUCRk47OkwNndo%2BJe91UvKQiUqEUKaeqPZ4Q%40mail.gmail.com.
[sorry if you're receiving the email from multiple MLs]Sonali,Thanks for your message. I don't have a complete answer for you, but I'd like to put you in contact with some people from our community (in cc) that is quite a long time are working on a BoD application.I've ccd also the north bound brigade, which is now actively working on two items: bandwidth allocation (possible in the intent framework from 1.9) and bandwidth enforcement (in progress, for the intent framework).Hope it helps,-Luca
Il giorno mar 28 mar 2017 alle 20:25 Sonali Chandna <sonalich...@gmail.com> ha scritto:
Hi,I am trying to create a on demand bandwidth functionality in ONOS. I found that "intent" API available here "https://github.com/opennetworkinglab/onos-app-samples/blob/master/calendar/src/main/java/org/onosproject/calendar/BandwidthCalendarResource.java" can be used for same.I want to ask following things about it
- How can I know which port a switch is running on to? (It is a parameter in bandwidth caledar REST API). I need to pass it as a parameter in POST request of "/intent" api.
- Once I am able to make success POST REST API call on "/intent", how can I see if the bandwidth between switches used
- If I am able create a host intent using ONOS cli with command "add-host-intent 00:00:00:00:00:01/-1 00:00:00:00:00:02/-1", then why am not I able to use "00:00:00:00:00:01" and 00:00:00:00:00:02" as hostId when making POST type API call to "/intent" end point? After making said API request, I get error on ONOS server console that hostID must be of 19 characters.
attached are my screenshots. please helpE
Regards Sonali
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
Sonali,It really depends if you also want to enforce (and not only reserve) the bandwdith, or not, and if you want to use the intent framework for it.If the two assumptions above are correct, I guess you'll need to wait for having meters support in the intent framework, something the northbound brigade is working on right now.


-LucaOn Sun, Apr 2, 2017 at 9:07 AM, Sonali Chandna <sonalich...@gmail.com> wrote:HI Luca,i want to show bandwidth changing from 100G to 10 g during different parts of the day as well as show if again 100 is required controller will give it backcan u please suggest me for that
REgard
Sonali
Il giorno mar 28 mar 2017 alle 20:25 Sonali Chandna <sonalich...@gmail.com> ha scritto:Hi,I am trying to create a on demand bandwidth functionality in ONOS. I found that "intent" API available here "https://github.com/opennetworkinglab/onos-app-samples/blob/master/calendar/src/main/java/org/onosproject/calendar/BandwidthCalendarResource.java" can be used for same.I want to ask following things about it
- How can I know which port a switch is running on to? (It is a parameter in bandwidth caledar REST API). I need to pass it as a parameter in POST request of "/intent" api.
- Once I am able to make success POST REST API call on "/intent", how can I see if the bandwidth between switches used
- If I am able create a host intent using ONOS cli with command "add-host-intent 00:00:00:00:00:01/-1 00:00:00:00:00:02/-1", then why am not I able to use "00:00:00:00:00:01" and 00:00:00:00:00:02" as hostId when making POST type API call to "/intent" end point? After making said API request, I get error on ONOS server console that hostID must be of 19 characters.
----attached are my screenshots. please helpE
Regards Sonali
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAEyy4s-qo2ALdxFUCRk47OkwNndo%2BJe91UvKQiUqEUKaeqPZ4Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/brigade-northbound/CAEL_9NM0%3DK5kGyA8CNAi2NQOs7XVS_dCydeo%2B5WndENTLJGUXg%40mail.gmail.com.You received this message because you are subscribed to the Google Groups "Northbound brigade" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brigade-northbound+unsub...@onosproject.org.
To post to this group, send email to brigade-northbound@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/brigade-northbound/.
To unsubscribe from this group and stop receiving emails from it, send an email to brigade-northbound+unsubscribe@onosproject.org.
To post to this group, send email to brigade-northbound@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/brigade-northbound/.
also is there any external API available that i can use or i need to create my own APIThanks Jordi.I want to ask when i try POST of a intent it asks me for source destination port no. where can i see that
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAEL_9NM0%3DK5kGyA8CNAi2NQOs7XVS_dCydeo%2B5WndENTLJGUXg%40mail.gmail.com.