1 / 11

Version 04c 08/10/2010

Version 04c 08/10/2010. VSI Discovery and Configuration Protocol (VDP) (Working Draft) Proposed Resolutions to subset of comments against 802.1Qbg Draft-1 Chait Tumuluri (Emulex), Jeffrey Lynch (IBM), Vijoy Pandey (BNT), Rakesh Sharma (BM), Renato Recio (IBM), Srikanth Kilaru (Juniper).

shea
Download Presentation

Version 04c 08/10/2010

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Version 04c 08/10/2010 VSI Discovery and Configuration Protocol (VDP)(Working Draft)Proposed Resolutions to subset of comments against802.1Qbg Draft-1 Chait Tumuluri (Emulex), Jeffrey Lynch (IBM), Vijoy Pandey (BNT), Rakesh Sharma (BM), Renato Recio (IBM), Srikanth Kilaru (Juniper)

  2. Summary of changes • Compliance to IEEE Protocols State Machines Conventions (Ref: IEEE 802.1AB x.xx) • Changed timer expiration events to comply with IEEE state machines style. • Changed state machine layout to match IEEE state machines. • Misc. other style changes in state machines to make them consistent with IEEE state machines. • Updated local variables and procedures names and description for additional clarification. • Ensured that changes do not impact state machines operation other than style and layout.

  3. INIT STATION_PROCESSING ASSOCIATED PREASSOCIATED vsiStatus = ProcRxAndSetCfg (rTLV,operTLV,sysTLV) If (vsiStatus == OK) vsiState = ASSOCIATED localChange = FALSE ActivityTimer = ACTIVITY_TIMER_MAX operTLV = NULL sysTLV = NULL rTLV = NULL localChange = FALSE vsiState = UNASSOCIATED TxTLV (sysTLV) ACKTimer = ACK_TIMEOUT_VALUE vsiStatus = ProcRxAndSetCfg (rTLV,operTLV,sysTLV) If (vsiStatus == OK) vsiState = PREASSOCIATED localChange = FALSE ActivityTimer = ACTIVITY_TIMER_MAX Station State Machine (One Instance per VSI) BEGIN localChange == TRUE localChange == TRUE || ActivityTimer == 0 rTLV != NULL && rTLV.mode1 == ASSOC && (rTLV.mode2 == SUCCESS || (rTLV.mode2 != SUCCESS && localChange == TRUE vsiState == ASSOCIATED)) localChange == TRUE || ActivityTimer == 0 rTLV != NULL && (rTLV.mode1 == PRE-ASSOC || rTLV.mode1 == PRE-ASSOCR) && rTLV.mode2 == SUCCESS (rTLV != NULL && rTLV.mode1 == De-Assoc) || vsiStatus != OK (rTLV != NULL && rTLV.mode1 == DE-ASSOC) || (ACKTimer == 0) (rTLV != NULL && rTLV.mode1 == De-Assoc) || vsiStatus != OK END

  4. INIT BRIDGE_PROCESSING PREASSOCIATED ASSOCIATED INACTIVE DEASSOCIATED vsiState = UNASSOCIATED operTLV = rTLV; operTLV.mode2 = FAIL TxTLV (operTLV) operTLV = NULL rTLV = NULL vsiState = UNASSOCIATED localChange-DeAssoc = FALSE vsiStatus = Proc_VTID_Def_Fetch(rTLV,operTLV) BridgeResTimer = MAX_BRIDGE_TIMER vsiState = UNASSOCIATED operTLV.mode1 = De-Assoc operTLV.mode2 = SUCCESS TxTLV (operTLV) vsiState = PREASSOCIATED operTLV = rTLV; operTLV.mode2 = SUCCESS TxTLV(operTLV) InactivityTimer = MAX_INACTIVE_TIME vsiState = ASSOCIATED operTLV = rTLV; operTLV.mode2 = SUCCESS TxTLV (operTLV) InactivityTimer = MAX_INACTIVE_TIME VSI State Machine – Bridge (Draft)(One Instance per VSI) BEGIN rTLV != NULL rTLV != NULL && (rTLV.mode1 == Assoc || rxTLV.mode1 == Pre-Assoc) vsiStatus == SUCCESS && rTLV.mode1 == Pre-Assoc rTLV != NULL && ((rTLV.mode1 == Assoc || rxTLV.mode1 == Pre-Assoc) && vsiStatus == FAIL) || (rTLV.mode1 == De-Assoc)) (rxTLV.mode1 == Assoc && vsiStatus == SUCCESS) II (vsiState == ASSOCIATED && rTLV.mode1 == Assoc && vsiStatus == FAIL) rTLV != NULL && (rTLV.mode1 == Assoc || rxTLV.mode1 == Pre-Assoc) rTLV.mode1 == DeAssoc || InactivityTimer == 0 || localChange-DeAssoc == TRUE rTLV.mode1 == De-Assoc InactivityTimer == 0 || localChange-DeAssoc InactivityTimer == 0 || localChange-DeAssoc == TRUE END

  5. VSI State Machine Local Variables and Procedures • vsiState: • Local variable for current state. Possible states are: UNASSOCIATED, PREASSOCIATED and ASSOCIATED • operTLV: • Current local (active) TLV (configuration) of Station. • sysTLV: • TLV from station management system e.g. Hypervisor. In addition localChange variable must be set to TRUE. If localChange is TRUE or ActivityTimer has expired, sysTLV can not change (resource lock semantics). • rTLV: • TLV received from remote (station or bridge) • bTLV: • TLV received from remote (station or bridge) • TxTLV(vsiTLV): • Transmits TLV using TLV transport (ECP) service interfaces. Includes support for aggregation of VSI TLVs. • Proc_VSI_Def_Fetch (): • Bridge procedure to fetch VSI definition based on Associate and/or Pre-Associate parameters based on received Remote TLV parameters. And sets vsiStatus in case of error. This function handles PreAssociate with and without resource reservation case as well. • ACKtimer: • ACKtimer is ACK Timer local variable. Response (ACK or NACK) is expected before timer expires. • ACK_TIMEOUT_VALUE: • This local variable contains ACK timeout value for the machine.

  6. VSI State Machine Local Variables and Procedures • INACTIVITY_TIMER • Bridge timer local variable for inactivity timer. • MAX_INACTIVE_TIME • Max inactivity time on the bridge. It is set by bridge based on configured value and complies to range specified in 802.1Qbg. • BridgeResTimer • Bridge resource fetch timer local timer. • localChange-DeAssoc • Local variable for de-associating VSI. It is set to TRUE by bridge management when VSI to be disconnected. • MAX_BRIDGE_TIMER • Local variable that stores max bridge timer value. It is set by bridge based on configured value and complies to range specified in 802.1Qbg. • vsiStatus = ProcRxAndSetCfg(rTLV,operTLV,sysTLV) • Validate received TLV, set configuration and return vsiStatus • vsiStatus = Proc_VTID_Def_Fetch(rTLV, operTLV) • Validate received TLV, get VTID definition, set configuration and return vsiStatus.

  7. Backup

  8. VDP Objectives • Support VSI preAssociate (with and without resource reservations), Associate and deAssociate. • ASSOCIATE, PreAssociate and DeAssociate are Idempotent i.e. can be repeated. • Capability to Associate skipping PreAssociate. • VDP will work both for VEPA and VEB environments. • Timeout mechanism to ensure: • Bridge resources are not reserved too long for inactive VSIs (lease semantics) • Allow removing resources from inactive VSIs with the goal of • Conserve bridges resources (Number VSIs being handled by bridge can be large). • Prevent inactive or VMs in error state to continue to hold resources. • Timeout out values to be negotiated on per channel between station and bridge. One timeout used for all ULPs on the channel negotiated using EVB TLV.

  9. VDP Objectives (continued) • Manageability and Robustness • Ensure VSI state and configuration between the Station and the Bridge remains consistent. • Hard errors at the Bridge or the Hypervisor that can impact individual VSI or Hypervisor/Bridge as a whole. All VSI configuration goes away in this situation. • Bridge and Station Errors are detected through one or more of the following mechanisms. • VSI KEEP-ALIVE (periodic transmission of VSI TLV from station and response from Bridge) • ACK Timer • Transport (ECP and LLDP) status indications. • Bridge and Hypervisor administrative capability to force VSI deAssociate. • ASSOCIATED VSI remains associated with existing configuration if a new associate is not successfully completed. • Statistics and logging support (need specific proposal).

  10. VSI State Machine – Station (One Instance per VSI) Local VSI-START (Assoc_NAK_Rx && VsiState == !Assoc) II ACKTimeout || DeAssocAck Rx EXIT ACKTimeout || DeAssoc Rx localChange-PreAssoc localChange-Assoc PreAssoc_NAK_Rx II ACKTimeout || DeAssocAck Rx Assoc_ACK_Rx ||(Assoc_NAK_Rx && VsiState == Assoc) localChange-PreAssoc || ACIIVITY_TIMER_Event vsiError || localChange-DeAssoc localChange - Assoc || ACIIVITY_TIMER_Event PreAssoc_ACK_Rx localChange - Assoc vsiError || localChange-DeAssoc localChange - PreAssoc vsiError || DeAssocAck Rx

  11. VSI State Machine – Bridge (Draft)(One Instance per VSI) New-VSI-Instance ID TLV Rx EXIT vsiError localChange-DeAssoc rxTLV == DeAssoc|| INACTIVE rxTLV == Assoc (rxTLV == DeAssoc)|| INACTIVE rxTLV == PreAssoc rxTLV == Assoc vsiError && VsiState == !Assoc rxTLV == PreAssoc !vsiError || (vsiError && VsiState == Assoc) !vsiError (rxTLV == DeAssoc)|| INACTIVE rxTLV == PreAssoc rxTLV == Assoc

More Related