#NEWLINE# def _validate_ipv6_combination( self , ra_mode , address_mode ) : #NEWLINE# #INDENT# if ( ra_mode != address_mode ) : #NEWLINE# #INDENT# msg = ( _ ( "ipv6_ra_mode set to '%(ra_mode)s' with ipv6_address_mode set to '%(addr_mode)s' is not valid. If both attributes are set, they must be the same value" ) % { #NEWLINE# #INDENT# 'ra_mode' : ra_mode , #NEWLINE# 'addr_mode' : address_mode , #NEWLINE# #UNINDENT# } ) #NEWLINE# raise exc . InvalidInput ( error_message = msg )