Hello, we are a team comprising the following three members:
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