This UI allows you to easily retrieve your network details. It has been developed using Nornir and Netmiko, and the frontend is powered by Flask and AJAX.
- Fill in the required fields for group and host configurations.
- Click the Save Configuration button to save the settings.
- To retrieve Nornir data, click the Get Nornir Data button.
- The Nornir data will be displayed below as a JSON object.
- Use the View Hosts YAML and View Groups YAML buttons to view the YAML data for hosts and groups, respectively.
<!DOCTYPE html>
<html>
<head>
<title>Inventory Configuration</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" />
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
// JavaScript code here
</script>
</head>
<body>
<!-- HTML code here -->
</body>
</html>