add function to class Link to transform to&from dict
fix ipaddr/mask missing problem in INTERFACE_REGISTER message
add func to cal routes using nx.graph and perform a diff with existing routes