Recent Commits to NES-Open-Switch:master

Thursday, March 31, 2016

LACP upgrade - 11: updating member port distribution and collection handler

Updated #distribution and #collection #handler for #member-ports in #LACP module. The handler #enables the collection and distribution operations #sequentially on each port. After an #aggregator port is selected to be #attached with the member port member port moves to the #synchronized #state with the peer port. i.e. both peer agrees that same aggregator link is used for attaching from both peer systems. Once the synchronization is attained the handler #enables #collection operation on the member port and the #HAL #calls will be done for enabling collecting operation in the #hardware as well. Once this is done, informs the peer about this with an updated LACP PDU. Once both the peers are collecting data from each side of the link for the same aggregator port the #distribution operation will be started on the member port by the handler in the next step. The #HAL call will be done and the updated LACP PDU will be sent to peer to inform them as well. Once both collection and distribution operations are enabled on the member ports the link will be fully participating in the aggregation operation.

#LACP update 24 ...
[commit 10442a8c8cd0bf6e7bba44a62cf01c3fda3a99d3] (https://github.com/nes-repo/NES-Open-Switch/commit/10442a8c8cd0bf6e7bba44a62cf01c3fda3a99d3)

Wednesday, March 30, 2016

LACP upgrade - 10: updating LACP PDU partner info handler

Updated the LACP #PDU #handler in #LACP module. This handler will #process the #PDU while #received on port. The #peer #partner #info of the received port is #updated from the info received in the LACP PDU. The info in the PDU is checked against the actor port specific info to #decide whether the #peer port is in #sync with the received port. The partner info like oper-port, oper-priority, oper-system-id, oper-system-priority, oper-key and oper-stat are populated according to the values received from LDU. The actor specific info like port, port-priority, system-id, system-priority and oper-key are cross checked with the info in PDU to decide whether synchronization has been attained with the peer port.

#LACP update 23 ...
[commit 4b8005f9df419c5b8f573ca219af71cc45c67a10] (https://github.com/nes-repo/NES-Open-Switch/commit/4b8005f9df419c5b8f573ca219af71cc45c67a10)

Tuesday, March 29, 2016

GMPLS update - 76: adding new parameters in custom actual-path configuration

Adding new #attributes in custom #actual-path configuration GMPLS module. The new attributes #node-id and #link-id adds support for specifying the #path #segment with respect to the #TE-Node and #TE-Link. This helps in describing the tunnel path using the nodes and links along the way. The #address information of the individual links are #automatically #populated based on the specified node-id and link-id configuration. This adds support for specifying the tunnel actual-path without knowing the address information, but using only the links on the way.

#GMPLS update 76 ...
[commit 92d0937aef9875c5c567a439870f698f91555c63] (https://github.com/nes-repo/NES-Open-Switch/commit/92d0937aef9875c5c567a439870f698f91555c63)

Monday, March 28, 2016

GMPLS update - 75: updating custom explicit-path agent mapper routines

Updated #custom #explicit-path agent mapper routines in GMPLS module. The agent #iterator routines and #mapper #routine has been updated to use standard #explicit-path entry based #indexing. This will access the explicit-path entries by using the #native #indexing. This removes references to the custom explicit-path indexing used earlier. This will reduce the memory requirement associated with the custom explicit-path entries. The custom explicit-path #entries add support for #attributes like #hop-forward-label and #hop-reverse-label. The #label-type attribute adds support for #media #specific labels ( #Ethernet / #SONET / #SDH / #OTN ) through the #label-type and #label-value attributes.

#GMPLS update 75 ...
[commit 9ec61638981ef073c8465a146aa2b84ebea969ad] (https://github.com/nes-repo/NES-Open-Switch/commit/9ec61638981ef073c8465a146aa2b84ebea969ad)

Thursday, March 24, 2016

GMPLS update - 74: adding new parameters in custom explicit-path configuration

Adding #new #attributes in custom #explicit-path configuration GMPLS module. The new attributes #node-id and #link-id adds support for specifying the #path #segment with respect to the #TE-Node and #TE-Link. This helps in describing the tunnel path using the nodes and links along the way. The #address information of the individual links are #automatically #populated based on the specified node-id and link-id configuration. This adds support for specifying the tunnel explicit-path without knowing the address information, but using only the links on the way.

#GMPLS update 74 ...
[commit 37d335c7865164d7d1a7b2d968e91a301d48866d] (https://github.com/nes-repo/NES-Open-Switch/commit/37d335c7865164d7d1a7b2d968e91a301d48866d)

Wednesday, March 23, 2016

GMPLS update - 73: updating custom out-segment agent mapper routines

Updated #custom #out-segment agent mapper routines in GMPLS module. The agent #iterator routines and #mapper #routine has been updated to #use standard #out-segment entry based #indexing. This will access the out-segment entries by using the #native #indexing. This removes references to the custom out-segment indexing used earlier. This will reduce the memory requirement associated with the custom out-segment entries. The custom label-stack #entries add support for #out-segment #attributes like GMPLS #top-label, #swap-label, etc ... The custom out-segment #entries add support for #media #specific labels ( #Ethernet / #SONET / #SDH / #OTN ) by maintaining the GMPLS #label-type and #label-value #attributes.

#GMPLS update 73 ...
[commit f7a57600c601adeed30f95c5f47c79bc86c1ec25] (https://github.com/nes-repo/NES-Open-Switch/commit/f7a57600c601adeed30f95c5f47c79bc86c1ec25)

Tuesday, March 22, 2016

LACP upgrade - 9: updating LACP PDU transmit handler

Updated the #PDU #transmit #handler in the #LACP module. Whenever updated LACP packets has to be sent to the #peer #partner node, the PDUs are #composed from the internal data-structures in this routine. This routine access the member port data-structures for #creating the individual #TLVs in the LACP PDU. The data-structure references has been corrected to the native member port structures. This routine passes the created PDUs to the appropriate #platform #handlers to send them out of the actual port.

#LACP update 22 ...
[commit 3a79dce87f1ea9b2225c02fea5d33a08a22e7d0b] (https://github.com/nes-repo/NES-Open-Switch/commit/3a79dce87f1ea9b2225c02fea5d33a08a22e7d0b)

Friday, March 18, 2016

LACP upgrade - 8: updating the LACP PDU processing routine

Updated the internal #LACP #PDU #processing routine in LACP module. This handler #disects the LACP #packet in to individual #TLVs and do the respective handling. The LACP PDU receive handler passes the incoming PDUs to this routine for processing. The routine has been upgraded to use the native member port level data-structures for it's internal processing.

#LACP update 21 ...
[commit 71ff8fe16a341f52e8887bb8abb5648f3ab1bebb] (https://github.com/nes-repo/NES-Open-Switch/commit/71ff8fe16a341f52e8887bb8abb5648f3ab1bebb)

Thursday, March 17, 2016

LACP upgrade - 7: updating the received LACP PDU handler

Updated incoming #LACP #PDU #handler in LACP module. The PDU handler has been updated to use native member port structures. The #peer #partner #data-structures on the particular member port are updated and internal LACP state on the port is updated in the handler. The routine to update the peer partner data-structures with the #administratively configured #default #values has been updated to remove references to the augmented data-structures. The #partner #info #expire #handler also has been updated in the same lines.

#LACP update 20 ...
[commit 1e4f29e70604d243bb4d80becf1e76e91007504b] (https://github.com/nes-repo/NES-Open-Switch/commit/1e4f29e70604d243bb4d80becf1e76e91007504b)

Wednesday, March 16, 2016

GMPLS update - 72: optimizing custom explicit-path parameter entries

Updated #GMPLS #custom #explicit-path #parameter agent mapper routines in GMPLS module. The agent #iterator routines and #mapper #routine has been updated to use standard #explicit-path entry based #indexing. This will access the custom explicit-path entries by using the #native #indexing. This removes references to the custom explicit-path indexing used earlier. The custom explicit-path parameter entries has been embedded in the standard explicit-path entries. The custom explicit-path parameter entries holds the #attributes like #hop-forward-label and #hop-reverse-label.

#GMPLS update 72 ...
[commit 7ddb605fe1b09b77521479133548c56cc4342bae] (https://github.com/nes-repo/NES-Open-Switch/commit/7ddb605fe1b09b77521479133548c56cc4342bae)

Tuesday, March 15, 2016

GMPLS update - 71: updating custom cross-connect agent mapper routines

Updated #custom #cross-connect agent mapper routines in GMPLS module. The agent #iterator routines and #mapper #routine has been updated to use standard #cross-connect entry based #indexing. This will access the cross-connect entries by using the #native #indexing. This removes references to the custom cross-connect indexing used earlier. This will reduce the memory requirement associated with the custom cross-connect entries. The custom cross-connect #entries add support for #label-stack #attributes like #cross-connect-type which indicate the cross-connect as part of LSP/pseudo-wire, also it indicates whether cross-connect is used in #HLSP or #SLSP modes.

#GMPLS update 71 ...
[commit feed37bae874c1fa5f8623fe0f9b1384892d61b1] (https://github.com/nes-repo/NES-Open-Switch/commit/feed37bae874c1fa5f8623fe0f9b1384892d61b1)

Monday, March 14, 2016

GMPLS update - 70: updating custom label-stack agent mapper routines

Updated #custom #label-stack agent mapper routines in GMPLS module. The agent #iterator routines and #mapper #routine has been updated to use standard #label-stack entry based #indexing. This will access the label-stack entries by using the #native #indexing. This removes references to the custom label-stack indexing used earlier. This will reduce the memory requirement associated with the custom label-stack entries. The custom label-stack #entries add support for #label-stack #attributes like GMPLS #label-type and #label-value, etc ...

#GMPLS update 70 ...
[commit 48da86fd34b3d887109f1759c4120340e02cd808] (https://github.com/nes-repo/NES-Open-Switch/commit/48da86fd34b3d887109f1759c4120340e02cd808)

Friday, March 11, 2016

GMPLS update - 69: optimizing custom cross-connect parameter entries

Updated #GMPLS #custom #cross-connect #parameter agent mapper routines in GMPLS module. The agent #iterator routines and #mapper #routine has been updated to use standard #cross-connect entry based #indexing. This will access the custom cross-connect entries by using the #native #indexing. This removes references to the custom cross-connect indexing used earlier. The custom cross-connect parameter entries has been embedded in the standard cross-connect entries. The custom cross-connect parameter entries holds the #attributes like the #cross-connect-type which indicate the cross-connect as part of LSP/pseudo-wire, also it indicates whether cross-connect is used in #HLSP or #SLSP modes.

#GMPLS update 69 ...
[commit f90dcca56b542f51afb50d61631aa545ec1d691c] (https://github.com/nes-repo/NES-Open-Switch/commit/f90dcca56b542f51afb50d61631aa545ec1d691c)

Wednesday, March 9, 2016

LACP upgrade - 6: updating member port aggregator attach handler

Updated #member #port #attach #handler with the aggregator in the #LACP module. This handler make the #hardware calls to #attach the member port with the selected aggregator and mark the member port state as attached. The #remote #peer is informed of this by sending a #new #LACP #PDU and peer is marked as #synchronized. Later, when peer responds with it's PDU the actual #distribution and #collection operations will be #started for member ports. On attaching the member port with the aggregator the LAG distribution and collection operations will be started in hardware. i.e. The traffic sent out on the aggregator port will be distributed to the member ports and traffic received on the member ports will be collected on to the combined aggregator port.

#LACP update 19 ...
[commit c4c8b0875ce3ca180a3982e850131b58f15a1451] (https://github.com/nes-repo/NES-Open-Switch/commit/c4c8b0875ce3ca180a3982e850131b58f15a1451)

Tuesday, March 8, 2016

LACP upgrade - 5: updating aggregator port state update handler

Updated #aggregator #port #status #handler in #LACP module. The data structure has been updated to use the new updated structure. This routine #updates the aggregator status as part of the #administrative or #operational #changes. The #LAG module uses this to #convey the aggregator #status #change to LACP module. When the aggregator port status changes to DOWN current aggregator selection is marked to be cleared. The remote information is marked as expired. This will cause the remote peer information to be gathered fresh again on port UP change. When port state comes as UP, the peer synchronization is marked as lost and expired and a timer is set to start operation on this port again.

#LACP update 18 ...
[commit 8eb97ea8c7dfb9c391f358e309df5bdc1f86b976] (https://github.com/nes-repo/NES-Open-Switch/commit/8eb97ea8c7dfb9c391f358e309df5bdc1f86b976)

Thursday, March 3, 2016

GMPLS update - 68: adding asymmetric bandwidth parameter in custom tunnel entries

Added #new #parameters in #custom #MPLS-tunnel #configuration in #GMPLS module. The #reverse-resource-index optional parameter has been added to tunnel configuration. When present it specify the #resource #requirement for the #reverse #direction, other wise resource requirement is assumed to be same for both directions as the normal #resource-index parameter. This enables to specify #asymmetric #bandwidth for #forward and #reverse #tunnel directions. In normal cases forward and reverse directions shares the same resource requirements. But in specific scenarios it is necessary to specify unequal bandwidths for forward and reverse directions. The new parameter caters this requirement and enables to specify different resource configuration for each directions.

#GMPLS update 68 ...
[commit 60e7e722f8659c6f9b4c78cf1546f4443b4a225f] (https://github.com/nes-repo/NES-Open-Switch/commit/60e7e722f8659c6f9b4c78cf1546f4443b4a225f)

Tuesday, March 1, 2016

GMPLS update - 67: optimizing custom computed-path parameter entries

Updated #GMPLS #custom #computed-path #parameter agent mapper routines in GMPLS module. The agent #iterator routines and #mapper #routine has been updated to use standard #computed-path entry based #indexing. This will access the custom computed-path entries by using the #native #indexing. This removes references to the custom computed-path indexing used earlier. The custom computed-path parameter entries has been embedded in the standard computed-path entries. The custom computed-path #entries add support for #attributes like GMPLS #forward-label, #reverse-label, etc ...  These labels are computed and populated as part of the path-computation operation. The custom computed-path #entries add support for #media specific labels ( #Ethernet / #SONET / #SDH / #OTN ) by maintaining the GMPLS #label-type and #label-value #attributes.

#GMPLS update 67 ...
[commit babc88764b1d830576fe24cf7c9d0f6a161a9dca] (https://github.com/nes-repo/NES-Open-Switch/commit/babc88764b1d830576fe24cf7c9d0f6a161a9dca)