Is the switch connected to a controller?
( self )
| 1024 | ' ' + listenAddr ) |
| 1025 | |
| 1026 | def connected( self ): |
| 1027 | "Is the switch connected to a controller?" |
| 1028 | status = self.dpctl( 'status' ) |
| 1029 | return ( 'remote.is-connected=true' in status and |
| 1030 | 'local.is-connected=true' in status ) |
| 1031 | |
| 1032 | @staticmethod |
| 1033 | def TCReapply( intf ): |