Skip to content

Commit f73bd61

Browse files
authored
Changes to the parameter order of add_dns_a_record_with_ptr_to_ipam made per your suggestion.
1 parent 6dcbe6d commit f73bd61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orionsdk/solarwinds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,14 +875,14 @@ def ncm_run_compliance_report(self, report_name):
875875
report_id = results['results'][0]['PolicyReportID']
876876
self.swis.invoke('Cirrus.PolicyReports', 'StartCaching', [report_id])
877877

878-
def add_dns_a_record_with_ptr_to_ipam(self, name, ip_address, domain, server):
878+
def add_dns_a_record_with_ptr_to_ipam(self, name, ip_address, server, domain):
879879
""" Add a DNS A and PTR record to the specified domain with the supplied name and IP address.
880880
881881
Args:
882882
ip_address(string): The IP address to be used in the new DNS record.
883883
name(string): The name to be used in the new DNS record.
884-
domain(string): The domain that the new DNS record will be added to.
885884
server(string): The name or IP of the DNS server that hosts the domain.
885+
domain(string): The domain that the new DNS record will be added to.
886886
887887
Returns:
888888
None.

0 commit comments

Comments
 (0)