def partition_services(self, **args):
rule = args.copy()<EOL>assert '<STR_LIT:source>' in rule and '<STR_LIT>' in rule<EOL>assert rule['<STR_LIT:source>'] != "<STR_LIT>" and rule['<STR_LIT>'] != "<STR_LIT>"<EOL>assert rule['<STR_LIT>'] in self.app.get_dependencies(rule['<STR_LIT:source>'])<EOL>rule['<STR_LIT>'] = rule.pop('<STR_LIT>', -<NUM_LIT:1>) or -<NUM_LIT:1><EOL>rule['<STR_LIT>'] = rule.pop('<STR_LIT>', <NUM_LIT:1>) or <NUM_LIT:1><EOL>self.abort_requests(**rule)<EOL>rule['<STR_LIT>'] = rule.pop('<STR_LIT>', <NUM_LIT:1>) or <NUM_LIT:1><EOL>temp = rule['<STR_LIT:source>']<EOL>rule['<STR_LIT:source>'] = rule['<STR_LIT>']<EOL>rule['<STR_LIT>'] = temp<EOL>self.abort_requests(**rule)<EOL>
Partitions two connected services. Not two sets of services (TODO)
        Expects usual arguments and srcprobability and dstprobability, that indicates probability of 
        terminating connections from source to dest and vice versa