MCPcopy Create free account
hub / github.com/adobe/Marinus / create_zone

Function create_zone

python3_cron_scripts/setup.py:350–360  ·  view source on GitHub ↗

A zone refers to a root domain such as "example.org" or "example.net"). It does not refer to fully qualified domain names (FQDNs) such as "www.example.org" or "images.example.net". Marins correlates records from different sources based on their zone. This will add a new zone for Mar

(zone)

Source from the content-addressed store, hash-verified

348
349
350def create_zone(zone):
351 """
352 A zone refers to a root domain such as "example.org" or "example.net").
353 It does not refer to fully qualified domain names (FQDNs) such as "www.example.org" or "images.example.net".
354 Marins correlates records from different sources based on their zone.
355 This will add a new zone for Marinus to track in the zones collection.
356 """
357 ZI = ZoneIngestor.ZoneIngestor()
358
359 print("Adding zone: " + zone)
360 ZI.add_zone(zone)
361
362
363def create_IPv4_zone(mongo_collection, cidr):

Callers 1

mainFunction · 0.85

Calls 1

add_zoneMethod · 0.95

Tested by

no test coverage detected