Enable support for Open vSwitch in NeST

43 views
Skip to first unread message

Varun Raghavendra

unread,
Oct 31, 2021, 1:11:10 AM10/31/21
to NeST users
Hello, we are a team comprising the following three members:
Mayur S Bhat - mayur.su...@gmail.com
Sukruth N Bhat - sukruth...@gmail.com

As mentioned in the subject, we are working on a project to enable the functionality of Open vSwitch within NeST. We have already had a discussion with our mentor Narayan regarding the workflow of this project. The details of this meetup along with our progress on this project can be found on the forked gitlab repository: Varun Raghavendra - NeST

Based on the discussion we have come up with the following design idea:
  • Implement a class called 'vSwitch' which inherits from the existing 'Switch' class within the topology module. We have thought of the following APIs to include:
    • create_vswitch(vswitch_name) : Creates vSwitch with name vswitch_name
    • add_port(vswitch_name, port_name) : Creates port with name port_name on vSwitch with name vswitch_name
    • delete_vswitch(vswitch_name) : Deletes vswitch with name vswitch_name
We would implement respective functions in the engine module to create subprocesses which will run the required commands in the Linux terminal.

Further APIs we come up with will be based on our further understanding of Open vSwitch.

Thanks and Regards,
Varun
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages