Revision 1a658054

View differences:

mininet/node.py
989 989
        self.cmd( 'ovs-vsctl add-br', self )
990 990
        if self.datapath == 'user':
991 991
            self.cmd( 'ovs-vsctl set bridge', self,'datapath_type=netdev' )
992
        int( self.dpid, 16 ) # DPID must be a hex string
992 993
        self.cmd( 'ovs-vsctl -- set Bridge', self,
993 994
                  'other_config:datapath-id=' + self.dpid )
994 995
        self.cmd( 'ovs-vsctl set-fail-mode', self, self.failMode )

Also available in: Unified diff