-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
67 lines (57 loc) · 2.79 KB
/
Copy path.env.example
File metadata and controls
67 lines (57 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# =============================================================================
# NetOpsBench Environment Configuration
# Copy this file to .env and update the values for your environment.
# Do not commit .env to git.
# =============================================================================
# --- LLM API Keys (for benchmark agents) ---
MINIMAX_API_KEY=your-minimax-api-key
OPENAI_API_KEY=your-openai-api-key
# ZHIPU_API_KEY=your-zhipu-api-key
# DEEPSEEK_API_KEY=your-deepseek-api-key
# KIMI_API_KEY=your-kimi-api-key
# --- LangSmith Tracing (optional) ---
LANGSMITH_API_KEY=your-langsmith-api-key
LANGSMITH_TRACING=true
LANGSMITH_PROJECT=NetOpsBench
# --- InfluxDB ---
NETOPSBENCH_INFLUXDB_URL=http://localhost:8086
NETOPSBENCH_INFLUXDB_TOKEN=replace-me
NETOPSBENCH_INFLUXDB_ORG=netopsbench
NETOPSBENCH_INFLUXDB_BUCKET=netopsbench
# --- Grafana ---
# NETOPSBENCH_GRAFANA_URL=http://localhost:3000
# NETOPSBENCH_GRAFANA_PASSWORD=admin
# NETOPSBENCH_GRAFANA_INFLUXDB_URL=http://influxdb:8086
# NETOPSBENCH_GRAFANA_DEFAULT_BUCKET=netopsbench
# --- Topology ---
# NETOPSBENCH_TOPOLOGY_DIR=lab-topology/generated_topology_xs
# NETOPSBENCH_TOPOLOGY_ID=dcn
# NETOPSBENCH_LAB_NAME=dcn
# NETOPSBENCH_MGMT_SUBNET= # Override management subnet (e.g. 172.20.20.0/24)
# NETOPSBENCH_MGMT_NETWORK= # Override Docker management network name
# --- SONiC / gNMI Telemetry ---
# SONIC_GNMI_PORT=50051
# SONIC_GNMI_USERNAME=admin
# SONIC_GNMI_PASSWORD= # Set the SONiC gNMI password for telemetry collection
# SONIC_GNMI_ENCODING=json_ietf
# SONIC_GNMI_TARGET=COUNTERS_DB
# SONIC_GNMI_SUBSCRIPTION_MODE=on_change # on_change | sample | target_defined
# SONIC_GNMI_SAMPLE_INTERVAL=10s # Only used when subscription_mode=sample
# --- Telemetry collectors (sFlow / syslog) ---
# NETOPSBENCH_SFLOW_COLLECTOR= # sFlow collector IP (defaults to management IP)
# NETOPSBENCH_SYSLOG_COLLECTOR= # Syslog collector IP (defaults to management IP)
# NETOPSBENCH_SFLOW_PORT=6343
# NETOPSBENCH_SFLOW_POLLING_INTERVAL=20
# NETOPSBENCH_SFLOW_SAMPLE_RATE=1000
# NETOPSBENCH_SFLOW_SAMPLE_DIRECTION=ingress
# --- Pingmesh ---
# PINGMESH_CYCLE_INTERVAL=5 # Probe cycle interval in seconds
# --- Runtime / debug ---
# NETOPSBENCH_LOG_LEVEL=INFO # DEBUG | INFO | WARNING | ERROR
# NETOPSBENCH_NO_SUDO=0 # Set to 1 in CI/test environments without sudo
# --- Worker Pool ---
# NETOPSBENCH_WORKER_DEPLOY_JOBS= # Parallel worker deploy jobs (default: num_workers)
# NETOPSBENCH_SONIC_WAIT_TRIES=180 # Max SONiC readiness retries (5s each, default: 15 min)
# NETOPSBENCH_AGENT_TIMEOUT_SECONDS=300
# NETOPSBENCH_WORKER_AGENT_TIMEOUT_SECONDS=600
# NETOPSBENCH_WORKER_DISABLE_LANGSMITH=false