noc.dns.models.dnszoneprofile

Module Contents

noc.dns.models.dnszoneprofile.id_lock
class noc.dns.models.dnszoneprofile.DNSZoneProfile

Bases: noc.core.model.base.NOCModel

DNS Zone profile is a set of common parameters, shared between zones.

Parameters:
  • name
  • masters
  • slaves
  • zone_soa
  • zone_contact
  • zone_refresh
  • zone_retry
  • zone_expire
  • zone_ttl
  • notification_group
  • description
class Meta

Bases: object

verbose_name
verbose_name_plural
db_table = dns_dnszoneprofile
app_label = dns
name
masters
slaves
zone_soa
zone_contact
zone_refresh
zone_retry
zone_expire
zone_ttl
notification_group
description
_id_cache
_name_cache
authoritative_servers

Returns a list of DNSServer instances for all zone’s master and slave servers

__str__(self)
classmethod get_by_id(cls, id)
classmethod get_by_name(cls, name)
iter_changed_datastream(self, changed_fields=None)