Skip to content

Commit

Permalink
Merge pull request #654 from e-breuninger/feat-vlans-site_id
Browse files Browse the repository at this point in the history
feat: add a site_id filter for vlans
  • Loading branch information
i-am-smolli authored Nov 8, 2024
2 parents da45bbc + a28a0b3 commit c571ca4
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 c571ca4

Please sign in to comment.