Merge pull request #76 from asadoughi/ip_address_uniform

Add port_ids, device_ids to IP address uniformally
my lame attempt