def _container_name_collision_test(self, node1, node2):
        # create a container
        d = self.assertResponseCode(
            b"POST", b"/configuration/containers",
            {
                u"node_uuid": unicode(node1), u"name": u"postgres",
                u"image": u"postgres"
            }, CREATED
        )
        # try to create another container with the same name
        d.addCallback(lambda _: self.assertResult(
            b"POST", b"/configuration/containers",
            {
                u"node_uuid": unicode(node2),
                u"name": u'postgres',
                u'image': u'postgres',
            },
            CONFLICT, {
                u'description':
                    u"The container name already exists.",
            }
        ))
        return d
Configure link parameters by applying tc queuing disciplines on the
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/CreateContainerTestsMixin._container_name_collision_test--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/netns/vnet.py/LxBrNet.linkconfig