add init code for attributes['instance_rmi_random_ports']

bug fix attributes['instance_rmi_random_ports']  init code