Recent Commits to NES-Open-Switch:master

Showing posts with label change. Show all posts
Showing posts with label change. Show all posts

Tuesday, April 5, 2016

LACP upgrade - 13: cleaning up LAG module

Cleaned up #LAG and #LACP modules with #miscellaneous #changes. Corrected the #PDU #handler in LACP module. Reordered PDU buffer data-structure. Removed definitions of the old module data-structures in LAG module. Corrected #aggregator #member-port #list iterator routine. Corrected #member-port #statistics iterator routines with direct references from member-port configuration entries. Updated #custom #aggregator configuration entries with direct reference from the aggregator configuration entries.

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

Friday, April 1, 2016

LACP upgrade - 12: updating member port selection handler

Updated #member-port #selection #handler in #LACP module. This handler checks and #verifies whether the #peer #partner and the #peer #port #attributes are not changing. The peer port info is recorded while LACP PDU is received. While there is an #administrative #configuration change from the peer side or a #physical #connectivity #changes happens from the remote side, it has to be decided whether the #member-port can still be part of #aggregation or not. The handler reads out the attributes passed in the LACP PDU and compare them against the peer port info recorded earlier. When the attributes differ in the PDU the member-port is marked as not part of the aggregation and #member-port #selection #procedures are executed.

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

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)

Wednesday, February 17, 2016

LACP upgrade - 4: updated LACP member port detach handler

Updated #member-port #detach #handler in #LACP module. This handler #detaches the #port from the #hardware #aggregator and #inform the #remote #peer of the same. After this a wait timer is set for later processing. This procedure is executed as part of #protocol #state #changes or as a side effect of a management operation. The aggregator is detached from the member-port in hardware and the peer is informed that local end is not in sync anymore. The #collection and #distribution procedures are #disabled in #hardware and the peer will be known of the same when it receives the updated LACP PDU from local end.

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

Thursday, February 11, 2016

LACP upgrade - 1: updated LACP aggregator and member port activation handler

Updated the port status #activation #handler for both #aggregator and the #member-port in #LACP module. The data type references has been corrected to use the new updated type. The activation handlers #cascade the #configuration #state #changes from the #LAG module to LACP module. On moving the port to #active state from LAG module, the #LACP #protocol specific procedures will be #started for these ports. Similarly on putting these ports in to #not-in-service or #not-ready state, the #protocol procedures are #stopped and #cleanup is done for these ports.

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

Monday, February 8, 2016

LAG upgrade - 28: added LAG interface OPER-STATUS handler

Added #aggregator logical-interface ( #lag-interface ) #OPER-STATUS #handler routine in LAG module. This enables to #perform the #support #procedures for #lag-interfaces on OPER-STATUS change. The handler is registered with the IF module and #IF #module will #execute this #call-back on respective #parameter #change in IF module. This helps to perform the necessary procedures in LAG module when the OPER-STATUS is changed from IF module. The references to the augmented custom aggregator data-structures has been updated to the standard aggregator data-structures.

#LAG update 36 ...
[commit 53be9578d6d937bfe18fad3d7c1efffc69722550] (https://github.com/nes-repo/NES-Open-Switch/commit/53be9578d6d937bfe18fad3d7c1efffc69722550)

Friday, February 5, 2016

LAG upgrade - 27: updating member port activation handler

Updating the #member #port #activation handler in LAG module. The references to the augmented custom member port data-structures has been updated to the standard member port data-structures. This allows to directly use the #standard #member #port data-structure and use the #embedded custom member port data-structure for internal operations. The #status related parameters are kept in the custom data-structure and on member port status #change these are updated as #active / #not-in-service. When ports are not ready to participate in the normal operations because of inconsistency in the applied configuration the state is set as #not-ready.

#LAG update 35 ...
[commit f0301884d9fabadfd09736b26fa5fc3c63f3bcf9] (https://github.com/nes-repo/NES-Open-Switch/commit/f0301884d9fabadfd09736b26fa5fc3c63f3bcf9)

Wednesday, February 3, 2016

GMPLS update - 61: adding cross-connect out-segment based indexing

Added #out-segment based #index for #cross-connects in GMPLS module. This will enable to #access the #cross-connect entry based on it's #out-segment, #in-segment #index pair. This will help to look-up cross-connect entries from the out-segment information. This is used to #pass the #trigger to the #cross-connect on #out-segment level #changes. This helps to efficiently map the cross-connect entries from the out-segment index.

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

Wednesday, January 6, 2016

LAG upgrade - 22: updating aggregator activation handler

Updating the #aggregator #activation handler in LAG module. The references to the augmented aggregator data-structures has been updated to the standard aggregator data-structures. This allows to directly use the #standard #aggregator data-structure and use the #embedded custom aggregator data-structure for internal operations. The #status related parameters are kept in the custom data-structure and on aggregator status #change these are updated as #active / #not-in-service. When aggregator are not ready to participate in the normal operations because of inconsistency in the applied configuration the state is set as #not-ready.

#LAG update 30 ...
[commit e0fd07fb4b43c2c956e2d465b5383fef93871f06] (https://github.com/nes-repo/NES-Open-Switch/commit/e0fd07fb4b43c2c956e2d465b5383fef93871f06)

Saturday, November 21, 2015

LAG upgrade - 7: aggregator framework update

Updated #aggregator #framework in accordance with the #data-structure #changes in LAG module. Updated the aggregator #create / #remove #routines according to the latest changes. Corrected the #indexing in the #agent #mapper routine.

#LAG update 15 ...
[commit 99c33261b9d71c7bfc1fcedd669ab4f71e6524a6] (https://github.com/nes-repo/NES-Open-Switch/commit/99c33261b9d71c7bfc1fcedd669ab4f71e6524a6)

Thursday, November 12, 2015

GMPLS update - 39: adding out-segment interface index

Added #mpls-interface based #indexing on #out-segment configuration entries in GMPLS module. This will help in doing #search #operations among the out-segment entries for #specific #interfaces in a #quick and #efficient manner. On #interface #changes the events are #forwarded to all the segments created on the interface. From segments the events will be #chained to #cross-connects and then further to the parent #tunnel #LSPs. On maintaining the interface index on segments expedite the event chaining process. The mpls-interface is used as an index in to the segment.

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

Tuesday, November 10, 2015

GMPLS update - 38: adding in-segment interface index

Added #mpls-interface based #indexing on #in-segment configuration entries in GMPLS module. This will help in doing #search #operations among the in-segment entries for #specific #interfaces in a #quick and #efficient manner. On #interface #changes the events are #forwarded to all the segments created on the interface. From segments the events #chained to #cross-connects and then further to the parent #tunnel #LSPs. On maintaining the interface index on segments expedite the event chaining process. The mpls-interface is used as an index in to the segment.

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

Friday, October 23, 2015

GMPLS update - 28: adding cross-connect based index for MPLS tunnels

#Added #cross-connect based #index for #MPLS-tunnel in GMPLS module. This will enable to #access the #tunnel entry based on it's #cross-connect #index. This will help to #look-up tunnel entries from the cross-connect information. This is used to #pass the #trigger #to the #tunnel on #cross-connect level #changes. This helps to efficiently map the tunnel entries from the cross-connect index.

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

Saturday, October 3, 2015

GMPLS interface update - 3: added MPLS interface ADMIN-STATUS handler

Added #MPLS-interface #ADMIN-STATUS #handler routine in GMPLS module. This enables to #perform the #support #procedure s for #MPLS-interface s on ADMIN-STATUS change. The handler is register ed with the IF module and #IF #module will #execute this #call-back #on respective #parameter #change in IF module. This helps to perform the necessary procedures in GMPLS module when the ADMIN-STATUS is changed from IF module.

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

Thursday, October 1, 2015

IF update - 17: adding interface create/remove handler

Added support for #logical-interface #create / #remove #handler in IF module. On #row-status #change for interfaces in IF module will #call this #handler for #perform ing the #support #procedure s in the respective module. The interface #handler has been #register ed from the #GMPLS module to complete the interface create/remove sequence for MPLS-interface s. The existing interface activation handler in IF module has been updated to use the newly added interface call-back routine.

#IF update 17 + #GMPLS update 12 ...
[commit 43ff119c1f494c3a74324b6851e0c62aba933fe8] (https://github.com/nes-repo/NES-Open-Switch/commit/43ff119c1f494c3a74324b6851e0c62aba933fe8)

Wednesday, September 23, 2015

IF update - 14: updating logical interface stacking handler

Updated the #logical-interface #stack #handling routines in IF module. The #stacking #change #handler routines has been #upgraded for the new data-structure changes. The interface stacking change handler will #check with the #upper and #lower #interface #layer s #on #create / #remove operations for each stack slice. e.g. On adding a #TE-Link over an #ethernet port the port capability (L2/L3/MPLS, bandwidth, MTU, duplexity, etc ...) and it's current state (OPER-STATUS) is checked. On creating the TE-Link TE-Link bandwidth is deduced from the lower layer ethernet port speed/bandwidth. On removing an GMPLS / #MPLS-tunnel, the earlier reserved bandwidth is returned back to it's lower layer #MPLS-interface and #TE-Link. These operations are supported through the interface stack change handler.

#IF update 14 ...
[commit 57a5237d1912bcff8c85f1e3d4448c52311a44f1] (https://github.com/nes-repo/NES-Open-Switch/commit/57a5237d1912bcff8c85f1e3d4448c52311a44f1)

Sunday, September 20, 2015

IF update - 13: updating logical interface status handler

Updated the #logical-interface #hierarchical #status #handling routines in IF module. The #status #change #handler routines has been #upgraded for the new data-structure changes. The hierarchical status handler #propagate s the interface #status #from the #lower interface #layer s #to the #higher #layer s. The interface #stacking enables the interface status to be decided based on the lower layer component interfaces. The interface status will depend on it's own #ADMIN-STATUS, #interface-type dependent #procedure s and #lower layer #interface #OPER-STATUS.

#IF update 13 ...
[commit 742604fca8f7d8c60f7e88afe52c7de58c33fc90] (https://github.com/nes-repo/NES-Open-Switch/commit/742604fca8f7d8c60f7e88afe52c7de58c33fc90)

Saturday, September 19, 2015

IF update - 12: updating logical interface status utilities

Updated the #logical #interface status handling routines in IF module. The #status #change and #status #handler routines has been #upgraded for the new data-structure changes. The obsoleted augmented logical interface structures has been removed from the IF module.

#IF update 12 ...
[commit 9b003f1ee0a4e0e7e0c382fd4a25071e7ef1cf5a] (https://github.com/nes-repo/NES-Open-Switch/commit/9b003f1ee0a4e0e7e0c382fd4a25071e7ef1cf5a)

Tuesday, May 26, 2015

LAG logical port update - 2

Added changes in lag module for handling the #lag #aggregator #logical #interface #status #change s. Similar status handler has been added for #lag #member #port s as well. When member port status is changed in other modules (e.g. ethernet) it will cascaded to lag module. The member port status changes may cause aggregator port status change as well. This will enable lag module to perform aggregator specific operations to be performed on relation with the member port status change.

#LAG update 9 ...
[commit 58cf74e3070a523621f97d5b1a0ad465fcedc08b]

Thursday, April 23, 2015

Ethernet logical port update - 2 + LAG member port update - 2

Added changes in ethernet module for passing on #ethernet #logical #interface #status #change s to LAG module. When status update is received on #LAG #member #ports the status is updated with the LAG module port status handler. This will enable LAG module to perform aggregator specific operations to be performed on relation with the port status change.

#Ethernet update 84 + LAG update 8 ...
[commit 4f5c3f641fd257a104e37d9e7abda01627d9b690]