docs: def switch_add_record(self, userid, interface, port=None,
                            switch=None, comments=None):
          """Add userid and nic name address into switch table."""
          with get_network_conn() as conn:
              conn.execute("INSERT INTO switch VALUES (?, ?, ?, ?, ?)",
                           (userid, interface, switch, port, comments))
              LOG.debug("New record in the switch table: user %s, "
                        "nic %s, port %s" %
                        (userid, interface, port))