#NEWLINE# @ wrap_check_policy #NEWLINE# def add_dns_entry( self , context , address , name , dns_type , domain ) : #NEWLINE# #INDENT# 'Create specified DNS entry for address.' #NEWLINE# args = { #NEWLINE# #INDENT# 'address' : address , #NEWLINE# 'name' : name , #NEWLINE# 'dns_type' : dns_type , #NEWLINE# 'domain' : domain , #NEWLINE# #UNINDENT# } #NEWLINE# return self . network_rpcapi . add_dns_entry ( context , ** args )