code: def subnet_create_event(self, subnet_info):
          
  
          subnet = subnet_info.get('subnet')
          if subnet:
              self.create_subnet(subnet)
          else:
              # Check whether request is for subnets.
              subnets = subnet_info.get('subnets')
              if subnets:
                  for subnet in subnets:
                      self.create_subnet(subnet)
docs: Process subnet create event.