# RouterOS Python Client – environment configuration
# Copy this file to .env and fill in your values.
# .env is loaded automatically by integration tests.

# ─────────────────────────────────────────────────────────────────────────────
# Device connection
# ─────────────────────────────────────────────────────────────────────────────

# IP address or hostname of the RouterOS device
# Default: 127.0.0.1 (Docker container running on localhost)
ROUTEROS_HOST=192.168.27.1

# Plain (non-TLS) API port
# RouterOS default: 8728
ROUTEROS_PORT=8728

# TLS API port (API-SSL in RouterOS)
# RouterOS default: 8729
ROUTEROS_TLS_PORT=8729

# ─────────────────────────────────────────────────────────────────────────────
# Credentials
# ─────────────────────────────────────────────────────────────────────────────

# Username to authenticate with
ROUTEROS_USER=admin

# Password (leave empty for the RouterOS default blank password)
ROUTEROS_PASSWORD=r00t

# ─────────────────────────────────────────────────────────────────────────────
# TLS / SSL
# ─────────────────────────────────────────────────────────────────────────────

# Verify the server's TLS certificate?
# "false" is required for self-signed RouterOS certificates (the default).
# "true"  requires that the server certificate is trusted by the OS CA store.
ROUTEROS_TLS_VERIFY=false

# ─────────────────────────────────────────────────────────────────────────────
# Docker compose overrides (used by docker/docker-compose.yaml)
# ─────────────────────────────────────────────────────────────────────────────

# RouterOS Docker image tag
ROUTEROS_IMAGE=evilfreelancer/docker-routeros:latest

# Container name
CONTAINER_NAME=routeros

# API ports exposed on the host
API_PORT=8728
API_SSL_PORT=8729
WINBOX_PORT=8291
SSH_PORT=22

# Network settings
ROUTEROS_IP=172.20.0.2
NETWORK_SUBNET=172.20.0.0/24
NETWORK_GATEWAY=172.20.0.1
