Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix | NIOS-101231 | Added enable dns to return fields. #356

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

JchhatbarInfoblox
Copy link
Collaborator

Fix | NIOS-101231 | Added enable dns to return fields.

  • both False
host_rec_res = {
  "filters" = tomap({
    "name" = "host1.example1.org"
  })
  "id" = "1718100618"
  "results" = tolist([
    {
      "comment" = ""
      "dns_view" = " "
      "duid" = "12:00:43:fe:9a:81"
      "enable_dhcp" = false
      "enable_dns" = false
      "ext_attrs" = "{\"Terraform Internal ID\":\"0cd6038b-a6f8-4097-988e-1217184e3c39\"}"
      "fqdn" = "host1.example1.org"
      "id" = "record:host/ZG5zLmhvc3QkLm5vbl9ETlNfaG9zdF9yb290LjAuMTcxODA3MzI0MTc1OC5vcmcuZXhhbXBsZTEuaG9zdDE:host1.example1.org/%20"
      "ipv4_addr" = "10.10.0.7"
      "ipv6_addr" = "1::1"
      "mac_addr" = "12:00:43:fe:9a:8c"
      "ttl" = -2147483648
      "zone" = ""
    },
  ])
}
  • DNS-true & DHCP-false
  "filters" = tomap({
    "name" = "host1.example1.org"
  })
  "id" = "1718100596"
  "results" = tolist([
    {
      "comment" = ""
      "dns_view" = "default"
      "duid" = "12:00:43:fe:9a:81"
      "enable_dhcp" = false
      "enable_dns" = true
      "ext_attrs" = "{\"Terraform Internal ID\":\"0cd6038b-a6f8-4097-988e-1217184e3c39\"}"
      "fqdn" = "host1.example1.org"
      "id" = "record:host/ZG5zLmhvc3QkLl9kZWZhdWx0Lm9yZy5leGFtcGxlMS5ob3N0MQ:host1.example1.org/default"
      "ipv4_addr" = "10.10.0.7"
      "ipv6_addr" = "1::1"
      "mac_addr" = "12:00:43:fe:9a:8c"
      "ttl" = -2147483648
      "zone" = "example1.org"
    },
  ])
}
  • Both true
host_rec_res = {
  "filters" = tomap({
    "name" = "host1.example1.org"
  })
  "id" = "1718100503"
  "results" = tolist([
    {
      "comment" = ""
      "dns_view" = "default"
      "duid" = "12:00:43:fe:9a:81"
      "enable_dhcp" = true
      "enable_dns" = true
      "ext_attrs" = "{\"Terraform Internal ID\":\"0cd6038b-a6f8-4097-988e-1217184e3c39\"}"
      "fqdn" = "host1.example1.org"
      "id" = "record:host/ZG5zLmhvc3QkLl9kZWZhdWx0Lm9yZy5leGFtcGxlMS5ob3N0MQ:host1.example1.org/default"
      "ipv4_addr" = "10.10.0.7"
      "ipv6_addr" = "1::1"
      "mac_addr" = "12:00:43:fe:9a:8c"
      "ttl" = -2147483648
      "zone" = "example1.org"
    },
  ])
}

Copy link
Collaborator

@JkhatriInfobox JkhatriInfobox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes added for enable_dns flag in Datasource looks good.

Also removal of local go-client path from the mod file

@JkhatriInfobox JkhatriInfobox merged commit f7599bf into infobloxopen:dev2.7 Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants