Skip to content

Commit

Permalink
feat: add a site_id filter for vlans
Browse files Browse the repository at this point in the history
  • Loading branch information
msmolinski committed Nov 8, 2024
1 parent 740effe commit a28a0b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions netbox/data_source_netbox_vlans.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ func dataSourceNetboxVlansRead(d *schema.ResourceData, m interface{}) error {
params.TenantID = &vString
case "tenant_id__n":
params.TenantIDn = &vString
case "site_id":
params.SiteID = &vString
case "site_id__n":
params.SiteIDn = &vString
case "status":
params.Status = &vString
default:
Expand Down

0 comments on commit a28a0b3

Please sign in to comment.