metadata: add support for IPv6 variable substitution
Merge pull request #227 from crawford/ipv6

metadata: add support for IPv6 variable substitution