Commit Graph
11 Commits
Author SHA1 Message Date
Christian ManivongandClaude Sonnet 4.6 cbe73cab64 feat: SNMP support — get_snmp_config(), fix_snmp action, get_device_warnings()
get_snmp_config() reads 'show snmp community', fix_snmp detects management VLAN
from 'show ip interface' and configures source-interface + community with correct
JetStream CLI syntax. get_device_warnings() added (was missing, caused AttributeError).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 13:09:45 +02:00
Christian Manivong 1874622543 feat: add VLAN/interface write methods and SG3210 support (v0.1.2)
- Implement `delete_vlan()`: removes VLAN from switch, automatically
  moves untagged (PVID) ports to VLAN 1 before deletion to satisfy
  TP-Link's constraint
- Implement `set_vlan()`: creates or updates a VLAN with optional name
- Implement `set_interface()`: configures trunk/access mode and VLAN
  membership on a switch interface
- Add `_to_cli_interface()` helper to expand abbreviated port names
  (e.g. Gi1/0/1 → gigabitEthernet 1/0/1)
- Import `InterfaceConfigDict` and `VlanConfigDict` from
  `napalm_device_types.models`
- Bump `napalm_device_types` dependency to >=0.2.0
- Add TL-SG3210 to tested-device table in README
- Bump version to 0.1.2
2026-05-29 08:53:13 +02:00
Christian Manivong ec70aad7ca Bump version to 0.1.1 2026-05-12 23:09:16 +02:00
Christian Manivong 7b01d73147 Fixed VLAN membership detection for multiline result 2026-05-12 22:53:25 +02:00
Christian Manivong 25bb0c36f2 Added napalm_device_types to pyproject 2026-05-11 22:15:01 +02:00
Christian Manivong 763bb7f5e9 Fixed typo in requirement.txt 2026-05-11 22:11:57 +02:00
Christian Manivong 7494b15b26 Added required napalm_device_types 2026-05-11 22:06:55 +02:00
Christian Manivong e8245f955c GitHub Actions to publish on pypi 2026-05-11 22:00:40 +02:00
Christian Manivong e9f9e291d5 Add usage of device type abstraction layer 2026-05-11 21:56:46 +02:00
Christian Manivong 5a3508d79e docs: add tested devices section (TL-SG2210P) 2026-05-09 19:16:20 +02:00
Christian Manivong 6a04796dd7 Inital commit 2026-05-09 19:05:49 +02:00