add ring network sample