Package lcmc.drbd.domain

Examples of lcmc.drbd.domain.DrbdXml.update()


                                     }
                                 }
                                 if (drbdUpdate != null) {
                                     final DrbdXml dxml = drbdXmlProvider.get();
                                     dxml.init(cluster.getHostsArray(), cb.getHostDrbdParameters());
                                     dxml.update(drbdUpdate);
                                     cb.setDrbdXml(dxml);
                                     application.invokeLater(new Runnable() {
                                         @Override
                                         public void run() {
                                             hostBrowser.getClusterBrowser().getGlobalInfo().setParameters();
View Full Code Here


                               host.drbdStatusLock();
                               drbdConfig = host.getOutput("drbd", outputBuffer);
                               if (drbdConfig != null) {
                                   final DrbdXml newDrbdXml = drbdXmlProvider.get();
                                   newDrbdXml.init(cluster.getHostsArray(), hostDrbdParameters);
                                   newDrbdXml.update(drbdConfig);
                                   drbdXml = newDrbdXml;
                                   drbdUpdate = true;
                                   firstTime.countDown();
                               }
                               host.drbdStatusUnlock();
View Full Code Here

        final DrbdXml newDrbdXml = drbdXmlProvider.get();
        newDrbdXml.init(getCluster().getHostsArray(), getBrowser().getHostDrbdParameters());
        for (final Host host : getCluster().getHosts()) {
            final String configString = newDrbdXml.getConfig(host);
            if (configString != null) {
                newDrbdXml.update(configString);
            }
        }
        getBrowser().setDrbdXml(newDrbdXml);
        getBrowser().resetFilesystems();
    }
View Full Code Here

            final DrbdXml dxml = drbdXmlProvider.get();
            dxml.init(hosts0.toArray(new Host[hosts0.size()]), clusterBrowser.getHostDrbdParameters());
            for (final Host host : hosts0) {
                final String conf = dxml.getConfig(host);
                if (conf != null) {
                    dxml.update(conf);
                }
            }
            clusterBrowser.setDrbdXml(dxml);
            application.invokeInEdt(new Runnable() {
                @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.