| Conditions | 4 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 0 | ||
| 1 | """ This class helps to handle multi-home physical loops (two ports). """ |
||
| 7 | 1 | from kytos.core.interface import Interface |
|
| 8 | |||
| 9 | |||
| 10 | 1 | class ProxyPort: |
|
| 11 | """This class helps to handle multi-home physical loops (two ports).""" |
||
| 12 | |||
| 13 | 1 | def __init__(self, controller: Controller, source: Interface): |
|
| 14 | self.controller = controller |
||
| 15 | self.source = source |
||
| 16 | |||
| 39 |