def init_payload(self):
        if self.raw:
            self.payload = self.raw
            return

        self.payload = {
            'is_ip': self.is_host,
            'network_address': self.network_address,
            'prefix_length': self.prefix_length,
            'state': self.is_host and 'assigned' or 'allocated',
            'site_id': self._site_id,
            'attributes': self.attributes,
        }
This will init the payload property
dataset/ETHPy150Open dropbox/pynsot/pynsot/models.py/Network.init_payload