File: SoftLayer_Dns_Domain.py

package info (click to toggle)
python-softlayer 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,508 kB
  • sloc: python: 57,195; makefile: 133; xml: 97; sh: 59
file content (13 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
createObject = {'name': 'example.com'}
deleteObject = True
editObject = True
getZoneFileContents = 'lots of text'
getResourceRecords = [
    {'id': 1, 'ttl': 7200, 'data': 'd', 'host': 'a', 'type': 'cname'},
    {'id': 2, 'ttl': 900, 'data': '1', 'host': 'b', 'type': 'a'},
    {'id': 3, 'ttl': 900, 'data': 'x', 'host': 'c', 'type': 'ptr'},
    {'id': 4, 'ttl': 86400, 'data': 'b', 'host': 'd', 'type': 'txt'},
    {'id': 5, 'ttl': 86400, 'data': 'b', 'host': 'e', 'type': 'txt'},
    {'id': 6, 'ttl': 600, 'data': 'b', 'host': 'f', 'type': 'txt'},
]
getObject = {'id': 98765, 'name': 'test-example.com'}