Search documentation of snmpkit

# SnmpKit.TestSupport (snmpkit v1.2.0)

SNMP Simulator for Elixir - Production-ready SNMP device simulation.

Provides high-performance SNMP device simulation supporting walk files, realistic behaviors, and large-scale testing scenarios.

# Summary

## Functions

start(type, args)
start_device(profile, opts \\ [])

Start a single SNMP device with the given profile.

start_device_population(device_configs, opts \\ [])

Start a population of devices with mixed types and configurations.

# Functions

# start(type, args)

# start_device(profile, opts \\ [])

Start a single SNMP device with the given profile.

## Examples

    # Start device with walk file profile
    profile = SnmpKit.SnmpSim.ProfileLoader.load_profile(
      :cable_modem,
      {:walk_file, "priv/walks/cable_modem.walk"}
    )
    {:ok, device} = SnmpSim.start_device(profile, port: 9001)

# start_device_population(device_configs, opts \\ [])

Start a population of devices with mixed types and configurations.

## Examples

    device_configs = [
      {:cable_modem, {:walk_file, "priv/walks/cm.walk"}, count: 1000},
      {:switch, {:oid_walk, "priv/walks/switch.walk"}, count: 50}
    ]

    {:ok, devices} = SnmpSim.start_device_population(
      device_configs,
      port_range: 30_000..39_999
    )