Animated NVIDIA Flex soft body rig

Hey there, "how do you keep the end points of the flexible hose fixed? (this video of yours made me ask)