code: func parseVlan(linkName string) (string, int, error) {
  	// parse -o parent=eth0.10
  	splitName := strings.Split(linkName, ".")
  	if len(splitName) != 2 {
  		return "", 0, fmt.Errorf("required interface name format is: name.vlan_id, ex. eth0.10 for vlan 10, instead received %s", linkName)
  	}
  	parent, vidStr := splitName[0], splitName[1]
  	// validate type and convert vlan id to int
  	vidInt, err := strconv.Atoi(vidStr)
  	if err != nil {
  		return "", 0, fmt.Errorf("unable to parse a valid vlan id from: %s (ex. eth0.10 for vlan 10)", vidStr)
  	}
  	// Check if the interface exists
  	if !parentExists(parent) {
  		return "", 0, fmt.Errorf("-o parent interface was not found on the host: %s", parent)
  	}
  
  	return parent, vidInt, nil
  }
docs: // parseVlan parses and verifies a slave interface name: -o parent=eth0.10