| 1 |
Value ringid (\d+) |
| 2 |
Value ringname ([a-zA-Z0-9\-\"\ ]+) |
| 3 |
Value ringstate (enabled|disabled) |
| 4 |
Value ringrole (member|master) |
| 5 |
Value mastervlan (\d+) |
| 6 |
Value topogroup (\d+|not conf) |
| 7 |
Value hellotime (\d+) |
| 8 |
Value prefwingtime (\d+) |
| 9 |
Value port1interface ([0-9\/]+) |
| 10 |
Value port1role (primary|secondary) |
| 11 |
Value port1state (\w+) |
| 12 |
Value port1activeint ([0-9\/]+) |
| 13 |
Value port1inttype (\w+) |
| 14 |
Value port2interface ([0-9\/]+) |
| 15 |
Value port2role (primary|secondary) |
| 16 |
Value port2state (\w+) |
| 17 |
Value port2activeint ([0-9\/]+) |
| 18 |
Value port2inttype (\w+) |
| 19 |
Value rhpssent (\d+) |
| 20 |
Value rhpsrecvd (\d+) |
| 21 |
Value tcrbpdusrecvd (\d+) |
| 22 |
Value statechanges (\d+) |
| 23 |
|
| 24 |
Start |
| 25 |
^Metro Ring ${ringid} -> Continue |
| 26 |
^Metro Ring ${ringid} - ${ringname} |
| 27 |
^\d+\s+${ringstate}\s+${ringrole}\s+${mastervlan}\s+${topogroup}\s+${hellotime}\s+${prefwingtime} |
| 28 |
^${rhpssent}\s+${rhpsrecvd}\s+${tcrbpdusrecvd}\s+${statechanges} -> Record |
| 29 |
^ethernet\s+${port1interface}\s+${port1role}\s+${port1state}\s+ethernet\s+${port1activeint}\s+${port1inttype} -> PORT2 |
| 30 |
|
| 31 |
PORT2 |
| 32 |
^ethernet\s+${port2interface}\s+${port2role}\s+${port2state}\s+ethernet\s+${port2activeint}\s+${port2inttype} -> Start |
| 33 |
|