Revision c70aab0a mininet/net.py

View differences:

mininet/net.py
511 511
        "Run iperf UDP test."
512 512
        return self.iperf( l4Type='UDP', udpBw=udpBw )
513 513

  
514
    def link( self, status, src, dst ):
515
        """Change link status.
516
           status: string {up, down}
517
           src: string
518
           dst: string"""
514
    def configLinkStatus( self, src, dst, status ):
515
        """Change status of src <-> dst links.
516
           src: node name
517
           dst: node name
518
           status: string {up, down}"""
519 519
        if src not in self.nameToNode:
520 520
            error( 'src not in network: %s\n' % src )
521 521
        elif dst not in self.nameToNode:

Also available in: Unified diff