主权项 |
1. A method comprising:
receiving, at an optical network device, traffic on a physical slot of a first optical fiber, the first optical fiber connected to a first port of the optical network device, the traffic including a given data unit; identifying, by the optical network device based on the given data unit being received on the physical slot of the first optical fiber and based on a flow identifier specified by the given data unit, a forwarding table entry associated with a first path,
wherein the forwarding table entry includes a primary downstream port identifier, a backup downstream port identifier, a primary downstream slot identifier, and a backup downstream slot identifier, the backup downstream port identifier identifying a port of the optical network device that is connected to a second optical fiber, the primary downstream port identifier identifying a port of the optical network device that is connected to a third optical fiber, the primary downstream slot identifier identifying a slot of the third optical fiber, the backup downstream slot identifier identifying a virtual slot of the second optical fiber, the virtual slot of the second optical fiber reserved for a second path; determining whether a downstream segment of the first path is operational; and in response to determining that the downstream segment of the first path is not operational:
identifying, based on the virtual slot of the second optical fiber, a physical slot of the second optical fiber; andforwarding the given data unit on the physical slot of the second optical fiber. |