datasource, network: add support for DigitalOcean floating IPs

This commit is contained in:
Matt Layher
2015-10-09 10:52:05 -04:00
parent 3b98be7788
commit b4d45306b2
3 changed files with 110 additions and 4 deletions

View File

@@ -38,10 +38,11 @@ type Address struct {
}
type Interface struct {
IPv4 *Address `json:"ipv4"`
IPv6 *Address `json:"ipv6"`
MAC string `json:"mac"`
Type string `json:"type"`
IPv4 *Address `json:"ipv4"`
IPv6 *Address `json:"ipv6"`
AnchorIPv4 *Address `json:"anchor_ipv4"`
MAC string `json:"mac"`
Type string `json:"type"`
}
type Interfaces struct {