code: def init_vpc_entries(nexus_ip, vpc_list):
      
  
      LOG.debug("init_vpc_entries() called")
  
      if not vpc_list:
          return
      session = bc.get_writer_session()
  
      for vpc in vpc_list:
          vpc_alloc = nexus_models_v2.NexusVPCAlloc(
              switch_ip=nexus_ip,
              vpc_id=vpc,
              learned=False,
              active=False)
          session.add(vpc_alloc)
      session.flush()
docs: Initialize switch/vpc entries in vpc alloc data base.
  
      param: nexus_ip  ip addr of the nexus switch for this interface
      param: vpc_list  list of vpc integers to create