+ def sfa_remove_user_from_slice (self, options):
+ "remove regular user from slice"
+ command="update -t slice -x {} -r none".format(self.slice_hrn())
+ # xxx should check result other than visually
+ return self.test_plc.run_in_guest(self.sfi_pi(command))==0
+
+ def sfa_insert_user_in_slice (self, options):
+ "defines regular user as unique user in slice"
+ command="update -t slice -x {} -r {}".format(self.slice_hrn(), self.regular_user_hrn())
+ # xxx should check result other than visually
+ return self.test_plc.run_in_guest(self.sfi_pi(command))==0
+