def __init__(self, ttl=0, action=ACT_NODE_REFERRAL,
                 authoritative=False, incomplete=False, map_version=0,
                 eid_prefix=None, locator_records=None, signatures=None):
        '''
        Constructor
        '''
        # Set defaults
        self.ttl = ttl
        self.action = action
        self.authoritative = authoritative
        self.incomplete = incomplete
        self.map_version = map_version
        self.eid_prefix = eid_prefix
        self.locator_records = locator_records or []
        self.signatures = signatures or []

        # Store space for reserved bits
        self._reserved1 = BitArray(11)
def __init__ ( self , ttl = 0 , action = ACT_NODE_REFERRAL , authoritative = False , incomplete = False , map_version = 0 , eid_prefix = None , locator_records = None , signatures = None ) : self . ttl = ttl self . action = action self . authoritative = authoritative self . incomplete = incomplete self . map_version = map_version self . eid_prefix = eid_prefix self . locator_records = locator_records or [ ] self . signatures = signatures or [ ] self . _reserved1 = BitArray ( 11 )
Constructor