source: trunk/templates/newmaster.tmpl@ 582

Last change on this file since 582 was 582, checked in by Kris Deugau, 11 years ago

/trunk

Begin adding DNS integration via RPC. See #1.
IPDB.pm

  • Add a global in IPDB.pm to identify the URL for RPC DNS changes. A blank URL means this capability is disabled. (also MyIPDB.pm)
  • Accept extra parameters in addMaster() for DNS changes (default rDNS pattern, DNS location/scope/view) and while we're at it, add space to handle VRF as an informational field
  • Drop maskbits from INSERTs in addMaster()
  • Make the RPC call to add a reverse zone when adding a new master block. To assist with export caching, we split the zone into /16 or /24 chunks and add each one separately.

main.cgi

  • Retrieve DNS locations for adding a master block
  • Pass the HTTP user in to addMaster() for logging in the DNS backend

Modify templates for add master
Remove long-obsolete function in widgets.js, add function for:
Add rDNS pattern reference page

Note the RPC calls require at least dnsadmin:trunk@r447 to work properly.

File size: 359 bytes
Line 
1<TMPL_IF webpath></TMPL_IF>
2<div class="center">
3<div class="heading">Adding <TMPL_VAR NAME=cidr> as master block....</div>
4<TMPL_IF err>
5Could not add master block <TMPL_VAR NAME=cidr> to database: <TMPL_VAR NAME=err>
6<TMPL_ELSE>
7<div class="heading">Success!</div>
8<TMPL_IF warn>
9<div class="warning"><TMPL_VAR NAME=warn></div>
10</TMPL_IF>
11</TMPL_IF>
12</div>
Note: See TracBrowser for help on using the repository browser.