Make nios_txt_record use text field for object lookup (#67120)

Up until now, nios_txt_record assumed that the name and view
parameters uniquely described a TXT record. What this meant is that it
was impossible to have more than one TXT record with a certain name.

Changes in this commit expands the set of parameters that uniquely
identify the TXT record with a text field.
pull/67297/head
Tadej Borovšak 6 years ago committed by GitHub
parent 569218f0cd
commit 7b03b581dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -106,7 +106,7 @@ def main():
ib_spec = dict(
name=dict(required=True, ib_req=True),
view=dict(default='default', aliases=['dns_view'], ib_req=True),
text=dict(type='str'),
text=dict(type='str', ib_req=True),
ttl=dict(type='int'),
extattrs=dict(type='dict'),
comment=dict(),

Loading…
Cancel
Save