Include lifecycle operation in RSTP code