code: func (vmap vnidMap) WaitAndGetVNID(name string) (uint, error) {
  	// Try few times up to 2 seconds
  	retries := 20
  	retryInterval := 100 * time.Millisecond
  	for i := 0; i < retries; i++ {
  		if id, err := vmap.GetVNID(name); err == nil {
  			return id, nil
  		}
  		time.Sleep(retryInterval)
  	}
  
  	// In case of error, return some value which is not a valid VNID
  	return MaxVNID + 1, fmt.Errorf("Failed to find netid for namespace: %s in vnid map", name)
  }
docs: // Nodes asynchronously watch for both NetNamespaces and services
  // NetNamespaces populates vnid map and services/pod-setup depend on vnid map
  // If for some reason, vnid map propagation from master to node is slow
  // and if service/pod-setup tries to lookup vnid map then it may fail.
  // So, use this method to alleviate this problem. This method will
  // retry vnid lookup before giving up.