add weight attribute to server (TSUN-236)