Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bufanoc authored Dec 23, 2024
1 parent b842a31 commit 5d4e0a6
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,15 @@
OVN VXLAN Configuration Web Application
OVN Web Application
========================================

This web application allows users to configure VXLAN overlays between a list of hosts using OVN (Open Virtual Network). The application provides a web interface to enter the required host information and configure the VXLAN overlays.
This application provides a web interface for OVN (Open Virtual Network)

Dependencies
------------

The following Python packages are required to run the application:

1. Flask
2. Flask-WTF
3. python-ovn

You can install these dependencies using pip:

pip install Flask Flask-WTF python-ovn

Usage
-----

1. Run the Flask application by executing the following command:
(python ovn_vxlan.py)

2. Access the web application at `http://localhost:5000/` in your browser.

3. Fill in the required host information (name, IP address, MAC address, and VTEP IP address) for each host.

4. Click the "Add Host" button to add more hosts to the list.

5. Click "Configure VXLAN" to configure VXLAN overlays between the entered hosts.

6. If the configuration is successful, a success message will be displayed on the page. If there's an error, the error message will be displayed.

API
---

The application also provides a JSON API to configure VXLAN overlays. You can send a POST request to the `/configure_vxlan` endpoint with a JSON body containing a list of hosts. Here's an example of the expected input format:

```json
{
"hosts": [
{
"name": "host1",
"ip": "10.0.0.1",
"mac": "aa:bb:cc:dd:ee:01",
"vtep_ip": "192.168.1.1"
},
{
"name": "host2",
"ip": "10.0.0.2",
"mac": "aa:bb:cc:dd:ee:02",
"vtep_ip": "192.168.1.2"
}
]
}



Expand Down

0 comments on commit 5d4e0a6

Please sign in to comment.