Interface DeviceConfigService

    • Method Detail

      • triggerConfigBackup

        CompletableFuture<Boolean> triggerConfigBackup​(String ipAddress,
                                                       String location,
                                                       String service,
                                                       boolean persist)
                                                throws IOException
        Trigger device config backup for the given ipAddress at given location.
        Parameters:
        ipAddress - specific IpAddress for which we need to fetch device config.
        location - specific minion location at which we need to fetch device config.
        service - name of the bound service.
        persist -
        Returns:
        Throws:
        IOException
      • getDeviceConfig

        CompletableFuture<DeviceConfig> getDeviceConfig​(String ipAddress,
                                                        String location,
                                                        String service,
                                                        boolean persist,
                                                        int timeout)
                                                 throws IOException
        Get device config for the given ipAddress at given location.
        Parameters:
        ipAddress - specific IpAddress for which we need to fetch device config.
        location - specific minion location at which we need to fetch device config.
        service - name of the bound service.
        persist -
        timeout - timeout in milliseconds for retrieving device config
        Returns:
        Throws:
        IOException