lazypower / DNS-Charm

DNS Charm
MIT License
7 stars 5 forks source link

Relation data format has changed #21

Closed lazypower closed 9 years ago

lazypower commented 9 years ago

The relation data is no longer a BIND style newline separated document.

The current format of relation data is a JSON object, or array of JSON objects for each record type depending on programmable or programmable-multiple

 {'alias': 'test', 'ttl': 1600, 'rr': 'A', 'addr': '127.0.0.1'}
lazypower commented 9 years ago

thomnico contributed this as a reference for the new format when consuming the changed relationship interface data: https://github.com/Metaswitch/clearwater-juju/pull/24/files