Utility function to convert a GenericArray of IPRoute objects representing IPv4 or IPv6 routes into a Variant of type 'aa{sv}' representing an array of new-style NetworkManager IP routes (which are tuples of destination, prefix, next hop, metric, and additional attributes).
routes |
an array of IPRoute objects |
a new floating Variant representing |