Usage
First Login
- Access the web interface at
http://your-server:5000 - Log in with the default credentials:
- Email:
[email protected] - Password:
password - Change the default password immediately via the Users page
Managing Subnets
- Navigate to "Admin" from the main menu
- Click "Add Subnet" and fill in:
- Name: Friendly name for the subnet (e.g., "Office LAN")
- CIDR: Subnet in CIDR notation (e.g.,
192.168.1.0/24) - Site: Site/location identifier
- The system automatically generates all IP addresses in the subnet
Adding Devices
- Navigate to "Devices" from the main menu
- Click "Add Device"
- Enter device name and select device type
- Click "Create Device"
Assigning IP Addresses to Devices
- Open a device from the Devices page
- Select a subnet and available IP address
- Click "Assign IP" - the hostname is automatically updated
Configuring DHCP Pools
- Open a subnet view
- Click "Configure DHCP Pool"
- Set the start and end IP addresses
- Optionally specify excluded IPs (comma-separated)
- IPs within the pool range are automatically marked as "DHCP"
Managing Racks
- Navigate to "Racks" from the main menu
- Click "Add Rack" and specify:
- Name: Rack identifier
- Site: Site location
- Height: Rack height in U units
- Open a rack to assign devices to specific U positions (front or back)
Device Tagging
- Managing Tags (Admin only):
- Navigate to "Admin" > "Tag Management"
- Click "Add Tag" to create new tags with custom colors and descriptions
-
Edit or delete existing tags as needed
-
Assigning Tags to Devices:
- Open any device from the Devices page
- Use the tag assignment dropdown to add multiple tags
-
Remove tags by clicking the × button next to the tag name
-
Filtering by Tags:
- Use the tag filter dropdown on the Devices page to view devices with specific tags
- Tags appear as colored badges throughout the interface for easy identification
Audit Log
View all changes and actions in the "Audit Log" section, with filtering by user, subnet, action type, or device name.
Exporting Data
- Subnet CSV: Click "Export CSV" on any subnet page to download IP addresses with hostnames
- Rack CSV: Click "Export CSV" on any rack page to download rack layout information
Role-Based Access Control
The system uses a granular role-based access control (RBAC) system to manage user permissions:
- Default Roles:
- Admin: Full access to all features including user and role management
- User: Can view and manage most features (devices, subnets, racks, etc.) but cannot manage users or roles
-
View Only: Read-only access to view pages but cannot make any changes
-
Custom Roles: Administrators can create custom roles with specific permission sets from the Users page
-
Permission Granularity: Permissions are organized into categories:
- View permissions (access to pages)
- Device Management (add, edit, delete devices)
- Network Management (subnet operations)
- Rack Management (rack operations)
- DHCP Configuration
-
Administration (user and role management)
-
User Management: Navigate to the Users page to:
- Create and manage users
- Assign roles to users
- Create custom roles with specific permissions
- View and regenerate API keys
REST API
The application includes a comprehensive REST API for programmatic access:
- Authentication: All API requests require an API key, which can be provided via:
X-API-KeyheaderAuthorization: Bearer <api_key>header-
?api_key=<api_key>query parameter -
Base URL: All API endpoints are prefixed with
/api/v1 -
Available Endpoints:
- Devices:
GET,POST,PUT,DELETE /api/v1/devices - Device Tags:
GET /api/v1/devices/by-tag/{tag}(filter devices by tag) - Tags:
GET,POST,PUT,DELETE /api/v1/tags(with?format=simpleoption) - Tag Assignment:
GET,POST /api/v1/devices/{id}/tags,DELETE /api/v1/devices/{id}/tags/{tag_id} - Subnets:
GET,POST,PUT,DELETE /api/v1/subnets - Racks:
GET,POST,DELETE /api/v1/racks - Device Types:
GET /api/v1/device-types - DHCP:
GET,POST /api/v1/subnets/{id}/dhcp - Audit Log:
GET /api/v1/audit -
Users & Roles:
GET /api/v1/users,GET /api/v1/roles(admin only) -
API Keys: Each user has a unique API key that can be viewed and regenerated from the Users page. API keys respect the same role-based permissions as the web interface.
-
Documentation: Full API documentation is available in the Help page of the web interface.
Example API Requests:
# List all devices
curl -H "X-API-Key: your_api_key" \
https://your-server:5000/api/v1/devices
# Get devices with a specific tag
curl -H "X-API-Key: your_api_key" \
https://your-server:5000/api/v1/devices/by-tag/production
# List all tags in simple format
curl -H "X-API-Key: your_api_key" \
https://your-server:5000/api/v1/tags?format=simple