1. A non-transitory machine readable medium storing a program for configuring a managed hardware forwarding element (MHFE) to implement a logical switch along with a plurality of other managed forwarding elements operating outside of the MHFE, and to communicatively couple the logical switch with a private network, the MHFE comprising a database with a logical switch table, a unicast media access control (MAC) table, and a physical switch table, the program comprising sets of instructions for: providing a plurality of data tuples for defining the logical switch on the MHFE, without providing a data tuple for binding the logical switch to a port of the MHFE, wherein said plurality of data tuples are stored in the logical switch table and the unicast MAC table; and after providing the plurality of data tuples for defining the logical switch, providing the data tuple that binds the logical switch to a port of the MHFE, wherein said data tuple is stored in the physical switch table.