def plugin_smoke(self):
        """Deploy a cluster with a plugin

        Scenario:
            1. Revert snapshot "ready_with_2_slaves"
            2. Create a cluster
            3. Add a node with controller role
            4. Add a node with compute role
            6. Enable a plugin
            5. Deploy a cluster with the plugin enabled

        Duration 90 min

        """
        plugin.prepare_test_plugin(self, slaves=2)

        # enable plugin in settings
        plugin.activate_plugin(self)

        self.fuel_web.update_nodes(
            self.cluster_id,
            {
                'slave-01': ['controller'],
                'slave-02': ['compute'],
            })

        # deploy cluster
        openstack.deploy_cluster(self)

        self.fuel_web.run_ostf(
            cluster_id=self.cluster_id,
            should_fail=2,
            failed_test_name=[('Check network connectivity from instance via floating IP'),('Launch instance with file injection')]
        )
    def install_testplugin(self):
        """Install Plugin and create cluster

        Scenario:
            1. Revert snapshot "ready_with_2_slaves"
            2. Upload a plugin to the master node
            3. Install a plugin
            4. Create a cluster
            5. Enable athe plugin in the cluster's settings

        Duration 20 min

        """

        plugin.prepare_test_plugin(self, slaves=2)