'Verify that the default dpid is assigned using a valid provided
canonical switchname if no dpid is passed in switch creation.'

def testDefaultDpid(self):

    switch = Mininet(Topo(), self.switchClass, Host, Controller).addSwitch('s1')
    self.assertEqual(switch.defaultDpid(), switch.dpid)
