-
Notifications
You must be signed in to change notification settings - Fork 194
New methods in DNS manager #1037
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
Conversation
Updating my fork
…s creation of all kind of records, including ptr
…al was removed since it will never be executed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the parameter type
to something else, otherwise looks good.
SoftLayer/CLI/dns/record_add.py
Outdated
manager = SoftLayer.DNSManager(env.client) | ||
zone_id = helpers.resolve_id(manager.resolve_ids, zone, name='zone') | ||
manager.create_record(zone_id, record, type, data, ttl=ttl) | ||
type = type.upper() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type
is a built in function of python, use zone_type
or something similar instead.
I know it was already type
, but now is a good time to fix that I think.
Agree, I changed type by record_type :D |
v5.5.3 + Added `slcli user delete` + #1023 Added `slcli order quote` to let users create a quote from the slcli. + #1032 Fixed vs upgrades when using flavors. + #1034 Added pagination to ticket list commands + #1037 Fixed DNS manager to be more flexible and support more zone types. + #1044 Pinned Click library version at >=5 < 7
The new methods allows to create MX, SRV and PTR records.
The CLI supports the creation of A, AAAA, MX, TXT, SPF, SRV, CNAME, and PTR records, it should fix the issue #584