vswitch: Set datapath_id and ofport in ovsdb.