This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*node data | |
rodrigo_gomes rm69871 | |
danilo_rocha rm70415 | |
andre_leite rm69925 | |
hebert_costa rm66719 | |
paulo_angelis rm68786 | |
pedro_venancio rm66816 | |
raphael_bigal rm70669 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests, os | |
import json | |
from flask import render_template, Blueprint, \ | |
request, flash, redirect, url_for # pragma: no cover | |
pdns_host = os.environ['PDNS_SERVER_1_PORT_8081_TCP_ADDR'] | |
pdns_port = os.environ['PDNS_SERVER_1_PORT_8081_TCP_PORT'] | |
url = 'http://%s:%s/servers/localhost/zones' % (pdns_host, pdns_port) | |
headers = { 'X-API-Key': 'totvs' } |
NewerOlder