Skip to content
forked from egberts/iscpy

iscpy python3 library. Read and write to ISC-styled configuration file (DHCP, BIND)

License

Notifications You must be signed in to change notification settings

ali-heidari/iscpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python3-iscpy

iscpy Python3 library. Reads and writes ISC-syled configuration files such as ISC BIND8/BIND9 and ISC-DHCP server/client. Additional features such as adding zone and write to file

Usage

ParseISCString(isc_string)

Returns parsed bind config file in python dictionary format(ISC dictionary) and keys without childkeys e.g. include

AddZone(json_zone, isc_dict)

Adding zone. Input is in json string. Returns ISC dictionary with added zone. This method doesn't include writing to output file

WriteToFile(isc_dict, isc_specialkeys, filename)

Write ISC dictionary to a file

About

iscpy python3 library. Read and write to ISC-styled configuration file (DHCP, BIND)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.4%
  • Red 21.6%