code: def create(self, dhcp4, dhcp6, callback=None, errback=None):
          
          if self.data:
              raise ScopegroupException('Scope Group already loaded')
  
          def success(result, *args):
              self.data = result
              self.id = result['id']
              self.dhcp4 = result['dhcp4']
              self.dhcp6 = result['dhcp6']
              self.name = result['name']
              self.service_group_id = result['service_group_id']
              if callback:
                  return callback(self)
              else:
                  return self
  
          return self._rest.create(dhcp4=dhcp4.option_list, dhcp6=dhcp6.option_list, name=self.name, service_group_id=self.service_group_id,
                                   callback=success, errback=errback)
docs: :param DHCPOptions dhcp4: DHCPOptions object that contains the settings for dhcp4
          :param DHCPOptions dhcp6: DHCPOptions object that contains the settings for dhcp6
  
          Create a new Scope Group. Pass a list of keywords and their values to
          configure. For the list of keywords available for address configuration, see :attr:`ns1.rest.ipam.Scopegroups.INT_FIELDS` and :attr:`ns1.rest.ipam.Scopegroups.PASSTHRU_FIELDS`