Revision ccca871a bin/mn

View differences:

bin/mn
176 176
                        ' controller]' )
177 177
        opts.add_option( '--innamespace', action='store_true',
178 178
                        default=False, help='sw and ctrl in namespace?' )
179
        opts.add_option( '--listenport', type='int', default=6634,
180
                        help='[base port for passive switch listening'
181
                        ' controller]' )
179 182
        opts.add_option( '--pre', type='string', default=None,
180 183
                        help='[CLI script to run before tests]' )
181 184
        opts.add_option( '--post', type='string', default=None,
......
222 225
        xterms = self.options.xterms
223 226
        mac = self.options.mac
224 227
        arp = self.options.arp
228
        listenPort = self.options.listenport
225 229
        mn = Mininet( topo, switch, host, controller, controllerParams,
226 230
                     inNamespace=inNamespace,
227 231
                     xterms=xterms, autoSetMacs=mac,
228
                     autoStaticArp=arp )
232
                     autoStaticArp=arp, listenPort=listenPort )
229 233
        if self.options.pre:
230 234
            CLI( mn, script=self.options.pre )
231 235

  

Also available in: Unified diff