test_class.declarator: testParams
test_class.modifier: private static
test_class.original_string: private static Map<String, Object> testParams;
test_class.type: Map<String, Object>
test_class.var_name: testParams
test_class.declarator: s_logger = Logger.getLogger(NfsSecondaryStorageResourceTest.class.getName())
test_class.modifier: private static final
test_class.original_string: private static final Logger s_logger = Logger.getLogger(NfsSecondaryStorageResourceTest.class.getName());
test_class.type: Logger
test_class.var_name: s_logger
test_class.declarator: resource
test_class.original_string: NfsSecondaryStorageResource resource;
test_class.type: NfsSecondaryStorageResource
test_class.var_name: resource
test_class.file: services/secondary-storage/server/src/test/java/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResourceTest.java
test_class.identifier: NfsSecondaryStorageResourceTest
test_class.superclass: extends TestCase
test_case.body: @Test
      public void testMount() throws Exception {
          String sampleUriStr = "cifs://192.168.1.128/CSHV3?user=administrator&password=1pass%40word1&foo=bar";
          URI sampleUri = new URI(sampleUriStr);
  
          s_logger.info("Check HostIp parsing");
          String hostIpStr = resource.getUriHostIp(sampleUri);
          Assert.assertEquals("Expected host IP " + sampleUri.getHost() + " and actual host IP " + hostIpStr + " differ.", sampleUri.getHost(), hostIpStr);
  
          s_logger.info("Check option parsing");
          String expected = "user=administrator,password=1pass@word1,foo=bar,";
          String actualOpts = resource.parseCifsMountOptions(sampleUri);
          Assert.assertEquals("Options should be " + expected + " and not " + actualOpts, expected, actualOpts);
  
          // attempt a configured mount
          final Map<String, Object> params = PropertiesUtil.toMap(loadProperties());
          String sampleMount = (String)params.get("testCifsMount");
          if (!sampleMount.isEmpty()) {
              s_logger.info("functional test, mount " + sampleMount);
              URI realMntUri = new URI(sampleMount);
              String mntSubDir = resource.mountUri(realMntUri);
              s_logger.info("functional test, umount " + mntSubDir);
              resource.umount(resource.getMountingRoot() + mntSubDir, realMntUri);
          } else {
              s_logger.info("no entry for testCifsMount in " + "./conf/agent.properties - skip functional test");
          }
      }
test_case.class_method_signature: NfsSecondaryStorageResourceTest.testMount()
test_case.full_signature: @Test public void testMount()
test_case.identifier: testMount
test_case.invocations: info getUriHostIp assertEquals getHost getHost info parseCifsMountOptions assertEquals toMap loadProperties get isEmpty info mountUri info umount getMountingRoot info
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMount()
focal_class.declarator: s_logger = LoggerFactory.getLogger(NfsSecondaryStorageResource.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger s_logger = LoggerFactory.getLogger(NfsSecondaryStorageResource.class);
focal_class.type: Logger
focal_class.var_name: s_logger
focal_class.declarator: TEMPLATE_ROOT_DIR = "template/tmpl"
focal_class.modifier: private static final
focal_class.original_string: private static final String TEMPLATE_ROOT_DIR = "template/tmpl";
focal_class.type: String
focal_class.var_name: TEMPLATE_ROOT_DIR
focal_class.declarator: VOLUME_ROOT_DIR = "volumes"
focal_class.modifier: private static final
focal_class.original_string: private static final String VOLUME_ROOT_DIR = "volumes";
focal_class.type: String
focal_class.var_name: VOLUME_ROOT_DIR
focal_class.declarator: POST_UPLOAD_KEY_LOCATION = "/etc/cloudstack/agent/ms-psk"
focal_class.modifier: private static final
focal_class.original_string: private static final String POST_UPLOAD_KEY_LOCATION = "/etc/cloudstack/agent/ms-psk";
focal_class.type: String
focal_class.var_name: POST_UPLOAD_KEY_LOCATION
focal_class.declarator: _timeout
focal_class.original_string: int _timeout;
focal_class.type: int
focal_class.var_name: _timeout
focal_class.declarator: _instance
focal_class.original_string: String _instance;
focal_class.type: String
focal_class.var_name: _instance
focal_class.declarator: _dc
focal_class.original_string: String _dc;
focal_class.type: String
focal_class.var_name: _dc
focal_class.declarator: _pod
focal_class.original_string: String _pod;
focal_class.type: String
focal_class.var_name: _pod
focal_class.declarator: _guid
focal_class.original_string: String _guid;
focal_class.type: String
focal_class.var_name: _guid
focal_class.declarator: _role
focal_class.original_string: String _role;
focal_class.type: String
focal_class.var_name: _role
focal_class.declarator: _params
focal_class.original_string: Map<String, Object> _params;
focal_class.type: Map<String, Object>
focal_class.var_name: _params
focal_class.declarator: _storage
focal_class.modifier: protected
focal_class.original_string: protected StorageLayer _storage;
focal_class.type: StorageLayer
focal_class.var_name: _storage
focal_class.declarator: _inSystemVM = false
focal_class.modifier: protected
focal_class.original_string: protected boolean _inSystemVM = false;
focal_class.type: boolean
focal_class.var_name: _inSystemVM
focal_class.declarator: _sslCopy = false
focal_class.original_string: boolean _sslCopy = false;
focal_class.type: boolean
focal_class.var_name: _sslCopy
focal_class.declarator: _dlMgr
focal_class.modifier: protected
focal_class.original_string: protected DownloadManager _dlMgr;
focal_class.type: DownloadManager
focal_class.var_name: _dlMgr
focal_class.declarator: _upldMgr
focal_class.modifier: protected
focal_class.original_string: protected UploadManager _upldMgr;
focal_class.type: UploadManager
focal_class.var_name: _upldMgr
focal_class.declarator: _configSslScr
focal_class.modifier: private
focal_class.original_string: private String _configSslScr;
focal_class.type: String
focal_class.var_name: _configSslScr
focal_class.declarator: _configAuthScr
focal_class.modifier: private
focal_class.original_string: private String _configAuthScr;
focal_class.type: String
focal_class.var_name: _configAuthScr
focal_class.declarator: _configIpFirewallScr
focal_class.modifier: private
focal_class.original_string: private String _configIpFirewallScr;
focal_class.type: String
focal_class.var_name: _configIpFirewallScr
focal_class.declarator: _publicIp
focal_class.modifier: private
focal_class.original_string: private String _publicIp;
focal_class.type: String
focal_class.var_name: _publicIp
focal_class.declarator: _hostname
focal_class.modifier: private
focal_class.original_string: private String _hostname;
focal_class.type: String
focal_class.var_name: _hostname
focal_class.declarator: _localgw
focal_class.modifier: private
focal_class.original_string: private String _localgw;
focal_class.type: String
focal_class.var_name: _localgw
focal_class.declarator: _eth1mask
focal_class.modifier: private
focal_class.original_string: private String _eth1mask;
focal_class.type: String
focal_class.var_name: _eth1mask
focal_class.declarator: _eth1ip
focal_class.modifier: private
focal_class.original_string: private String _eth1ip;
focal_class.type: String
focal_class.var_name: _eth1ip
focal_class.declarator: _storageIp
focal_class.modifier: private
focal_class.original_string: private String _storageIp;
focal_class.type: String
focal_class.var_name: _storageIp
focal_class.declarator: _storageNetmask
focal_class.modifier: private
focal_class.original_string: private String _storageNetmask;
focal_class.type: String
focal_class.var_name: _storageNetmask
focal_class.declarator: _storageGateway
focal_class.modifier: private
focal_class.original_string: private String _storageGateway;
focal_class.type: String
focal_class.var_name: _storageGateway
focal_class.declarator: nfsIps = new ArrayList<String>()
focal_class.modifier: private final
focal_class.original_string: private final List<String> nfsIps = new ArrayList<String>();
focal_class.type: List<String>
focal_class.var_name: nfsIps
focal_class.declarator: _parent = "/mnt/SecStorage"
focal_class.modifier: protected
focal_class.original_string: protected String _parent = "/mnt/SecStorage";
focal_class.type: String
focal_class.var_name: _parent
focal_class.declarator: _tmpltpp = "template.properties"
focal_class.modifier: final private
focal_class.original_string: final private String _tmpltpp = "template.properties";
focal_class.type: String
focal_class.var_name: _tmpltpp
focal_class.declarator: createTemplateFromSnapshotXenScript
focal_class.modifier: protected
focal_class.original_string: protected String createTemplateFromSnapshotXenScript;
focal_class.type: String
focal_class.var_name: createTemplateFromSnapshotXenScript
focal_class.declarator: uploadEntityStateMap = new HashMap<String,UploadEntity>()
focal_class.modifier: private final
focal_class.original_string: private final HashMap<String,UploadEntity> uploadEntityStateMap = new HashMap<String,UploadEntity>();
focal_class.type: HashMap<String,UploadEntity>
focal_class.var_name: uploadEntityStateMap
focal_class.declarator: _ssvmPSK = null
focal_class.modifier: private
focal_class.original_string: private String _ssvmPSK = null;
focal_class.type: String
focal_class.var_name: _ssvmPSK
focal_class.file: services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
focal_class.identifier: NfsSecondaryStorageResource
focal_class.interfaces: implements SecondaryStorageResource
focal_class.class_method_signature: NfsSecondaryStorageResource.getTimeout()
focal_class.full_signature: public int getTimeout()
focal_class.identifier: getTimeout
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTimeout()
focal_class.class_method_signature: NfsSecondaryStorageResource.setTimeout(int timeout)
focal_class.full_signature: public void setTimeout(int timeout)
focal_class.identifier: setTimeout
focal_class.modifiers: public
focal_class.parameters: (int timeout)
focal_class.return: void
focal_class.signature: void setTimeout(int timeout)
focal_class.class_method_signature: NfsSecondaryStorageResource.setParentPath(String path)
focal_class.full_signature: public void setParentPath(String path)
focal_class.identifier: setParentPath
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void setParentPath(String path)
focal_class.class_method_signature: NfsSecondaryStorageResource.getMountingRoot()
focal_class.full_signature: public String getMountingRoot()
focal_class.identifier: getMountingRoot
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getMountingRoot()
focal_class.class_method_signature: NfsSecondaryStorageResource.disconnected()
focal_class.full_signature: @Override public void disconnected()
focal_class.identifier: disconnected
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void disconnected()
focal_class.class_method_signature: NfsSecondaryStorageResource.setInSystemVM(boolean inSystemVM)
focal_class.full_signature: public void setInSystemVM(boolean inSystemVM)
focal_class.identifier: setInSystemVM
focal_class.modifiers: public
focal_class.parameters: (boolean inSystemVM)
focal_class.return: void
focal_class.signature: void setInSystemVM(boolean inSystemVM)
focal_class.class_method_signature: NfsSecondaryStorageResource.executeRequest(Command cmd)
focal_class.full_signature: @Override public Answer executeRequest(Command cmd)
focal_class.identifier: executeRequest
focal_class.modifiers: @Override public
focal_class.parameters: (Command cmd)
focal_class.return: Answer
focal_class.signature: Answer executeRequest(Command cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.postProcessing(File destFile, String downloadPath, String destPath, DataTO srcData, DataTO destData)
focal_class.full_signature: protected CopyCmdAnswer postProcessing(File destFile, String downloadPath, String destPath, DataTO srcData, DataTO destData)
focal_class.identifier: postProcessing
focal_class.modifiers: protected
focal_class.parameters: (File destFile, String downloadPath, String destPath, DataTO srcData, DataTO destData)
focal_class.return: CopyCmdAnswer
focal_class.signature: CopyCmdAnswer postProcessing(File destFile, String downloadPath, String destPath, DataTO srcData, DataTO destData)
focal_class.class_method_signature: NfsSecondaryStorageResource.copyFromSwiftToNfs(CopyCommand cmd, DataTO srcData, SwiftTO swiftTO, DataTO destData, NfsTO destImageStore)
focal_class.full_signature: protected Answer copyFromSwiftToNfs(CopyCommand cmd, DataTO srcData, SwiftTO swiftTO, DataTO destData, NfsTO destImageStore)
focal_class.identifier: copyFromSwiftToNfs
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd, DataTO srcData, SwiftTO swiftTO, DataTO destData, NfsTO destImageStore)
focal_class.return: Answer
focal_class.signature: Answer copyFromSwiftToNfs(CopyCommand cmd, DataTO srcData, SwiftTO swiftTO, DataTO destData, NfsTO destImageStore)
focal_class.class_method_signature: NfsSecondaryStorageResource.copyFromS3ToNfs(CopyCommand cmd, DataTO srcData, S3TO s3, DataTO destData, NfsTO destImageStore)
focal_class.full_signature: protected Answer copyFromS3ToNfs(CopyCommand cmd, DataTO srcData, S3TO s3, DataTO destData, NfsTO destImageStore)
focal_class.identifier: copyFromS3ToNfs
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd, DataTO srcData, S3TO s3, DataTO destData, NfsTO destImageStore)
focal_class.return: Answer
focal_class.signature: Answer copyFromS3ToNfs(CopyCommand cmd, DataTO srcData, S3TO s3, DataTO destData, NfsTO destImageStore)
focal_class.class_method_signature: NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfsXenserver(CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData,
        NfsTO destDataStore)
focal_class.full_signature: protected Answer copySnapshotToTemplateFromNfsToNfsXenserver(CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData,
        NfsTO destDataStore)
focal_class.identifier: copySnapshotToTemplateFromNfsToNfsXenserver
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData,
        NfsTO destDataStore)
focal_class.return: Answer
focal_class.signature: Answer copySnapshotToTemplateFromNfsToNfsXenserver(CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData,
        NfsTO destDataStore)
focal_class.class_method_signature: NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfs(CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData, NfsTO destDataStore)
focal_class.full_signature: protected Answer copySnapshotToTemplateFromNfsToNfs(CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData, NfsTO destDataStore)
focal_class.identifier: copySnapshotToTemplateFromNfsToNfs
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData, NfsTO destDataStore)
focal_class.return: Answer
focal_class.signature: Answer copySnapshotToTemplateFromNfsToNfs(CopyCommand cmd, SnapshotObjectTO srcData, NfsTO srcDataStore, TemplateObjectTO destData, NfsTO destDataStore)
focal_class.class_method_signature: NfsSecondaryStorageResource.getFile(String path, String nfsPath)
focal_class.full_signature: protected File getFile(String path, String nfsPath)
focal_class.identifier: getFile
focal_class.modifiers: protected
focal_class.parameters: (String path, String nfsPath)
focal_class.return: File
focal_class.signature: File getFile(String path, String nfsPath)
focal_class.class_method_signature: NfsSecondaryStorageResource.createTemplateFromSnapshot(CopyCommand cmd)
focal_class.full_signature: protected Answer createTemplateFromSnapshot(CopyCommand cmd)
focal_class.identifier: createTemplateFromSnapshot
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer createTemplateFromSnapshot(CopyCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.copyFromNfsToImage(CopyCommand cmd)
focal_class.full_signature: protected Answer copyFromNfsToImage(CopyCommand cmd)
focal_class.identifier: copyFromNfsToImage
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer copyFromNfsToImage(CopyCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(CopyCommand cmd)
focal_class.full_signature: protected Answer execute(CopyCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(CopyCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.determineS3TemplateDirectory(final Long accountId, final Long templateId, final String templateUniqueName)
focal_class.full_signature: @SuppressWarnings("unchecked") protected String determineS3TemplateDirectory(final Long accountId, final Long templateId, final String templateUniqueName)
focal_class.identifier: determineS3TemplateDirectory
focal_class.modifiers: @SuppressWarnings("unchecked") protected
focal_class.parameters: (final Long accountId, final Long templateId, final String templateUniqueName)
focal_class.return: String
focal_class.signature: String determineS3TemplateDirectory(final Long accountId, final Long templateId, final String templateUniqueName)
focal_class.class_method_signature: NfsSecondaryStorageResource.determineS3TemplateNameFromKey(String key)
focal_class.full_signature: private String determineS3TemplateNameFromKey(String key)
focal_class.identifier: determineS3TemplateNameFromKey
focal_class.modifiers: private
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String determineS3TemplateNameFromKey(String key)
focal_class.class_method_signature: NfsSecondaryStorageResource.determineS3VolumeDirectory(final Long accountId, final Long volId)
focal_class.full_signature: @SuppressWarnings("unchecked") protected String determineS3VolumeDirectory(final Long accountId, final Long volId)
focal_class.identifier: determineS3VolumeDirectory
focal_class.modifiers: @SuppressWarnings("unchecked") protected
focal_class.parameters: (final Long accountId, final Long volId)
focal_class.return: String
focal_class.signature: String determineS3VolumeDirectory(final Long accountId, final Long volId)
focal_class.class_method_signature: NfsSecondaryStorageResource.determineS3VolumeIdFromKey(String key)
focal_class.full_signature: protected Long determineS3VolumeIdFromKey(String key)
focal_class.identifier: determineS3VolumeIdFromKey
focal_class.modifiers: protected
focal_class.parameters: (String key)
focal_class.return: Long
focal_class.signature: Long determineS3VolumeIdFromKey(String key)
focal_class.class_method_signature: NfsSecondaryStorageResource.determineStorageTemplatePath(final String storagePath, String dataPath)
focal_class.full_signature: private String determineStorageTemplatePath(final String storagePath, String dataPath)
focal_class.identifier: determineStorageTemplatePath
focal_class.modifiers: private
focal_class.parameters: (final String storagePath, String dataPath)
focal_class.return: String
focal_class.signature: String determineStorageTemplatePath(final String storagePath, String dataPath)
focal_class.class_method_signature: NfsSecondaryStorageResource.downloadFromUrlToNfs(String url, NfsTO nfs, String path, String name)
focal_class.full_signature: protected File downloadFromUrlToNfs(String url, NfsTO nfs, String path, String name)
focal_class.identifier: downloadFromUrlToNfs
focal_class.modifiers: protected
focal_class.parameters: (String url, NfsTO nfs, String path, String name)
focal_class.return: File
focal_class.signature: File downloadFromUrlToNfs(String url, NfsTO nfs, String path, String name)
focal_class.class_method_signature: NfsSecondaryStorageResource.registerTemplateOnSwift(DownloadCommand cmd)
focal_class.full_signature: protected Answer registerTemplateOnSwift(DownloadCommand cmd)
focal_class.identifier: registerTemplateOnSwift
focal_class.modifiers: protected
focal_class.parameters: (DownloadCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer registerTemplateOnSwift(DownloadCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(DownloadCommand cmd)
focal_class.full_signature: private Answer execute(DownloadCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (DownloadCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(DownloadCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.getTemplateFormat(String filePath)
focal_class.full_signature: private ImageFormat getTemplateFormat(String filePath)
focal_class.identifier: getTemplateFormat
focal_class.modifiers: private
focal_class.parameters: (String filePath)
focal_class.return: ImageFormat
focal_class.signature: ImageFormat getTemplateFormat(String filePath)
focal_class.class_method_signature: NfsSecondaryStorageResource.getVirtualSize(File file, ImageFormat format)
focal_class.full_signature: protected long getVirtualSize(File file, ImageFormat format)
focal_class.identifier: getVirtualSize
focal_class.modifiers: protected
focal_class.parameters: (File file, ImageFormat format)
focal_class.return: long
focal_class.signature: long getVirtualSize(File file, ImageFormat format)
focal_class.class_method_signature: NfsSecondaryStorageResource.copyFromNfsToS3(CopyCommand cmd)
focal_class.full_signature: protected Answer copyFromNfsToS3(CopyCommand cmd)
focal_class.identifier: copyFromNfsToS3
focal_class.modifiers: protected
focal_class.parameters: (CopyCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer copyFromNfsToS3(CopyCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.swiftDownload(SwiftTO swift, String container, String rfilename, String lFullPath)
focal_class.full_signature:  String swiftDownload(SwiftTO swift, String container, String rfilename, String lFullPath)
focal_class.identifier: swiftDownload
focal_class.parameters: (SwiftTO swift, String container, String rfilename, String lFullPath)
focal_class.return: String
focal_class.signature: String swiftDownload(SwiftTO swift, String container, String rfilename, String lFullPath)
focal_class.class_method_signature: NfsSecondaryStorageResource.swiftDownloadContainer(SwiftTO swift, String container, String ldir)
focal_class.full_signature:  String swiftDownloadContainer(SwiftTO swift, String container, String ldir)
focal_class.identifier: swiftDownloadContainer
focal_class.parameters: (SwiftTO swift, String container, String ldir)
focal_class.return: String
focal_class.signature: String swiftDownloadContainer(SwiftTO swift, String container, String ldir)
focal_class.class_method_signature: NfsSecondaryStorageResource.swiftUpload(SwiftTO swift, String container, String lDir, String lFilename)
focal_class.full_signature:  String swiftUpload(SwiftTO swift, String container, String lDir, String lFilename)
focal_class.identifier: swiftUpload
focal_class.parameters: (SwiftTO swift, String container, String lDir, String lFilename)
focal_class.return: String
focal_class.signature: String swiftUpload(SwiftTO swift, String container, String lDir, String lFilename)
focal_class.class_method_signature: NfsSecondaryStorageResource.swiftList(SwiftTO swift, String container, String rFilename)
focal_class.full_signature:  String[] swiftList(SwiftTO swift, String container, String rFilename)
focal_class.identifier: swiftList
focal_class.parameters: (SwiftTO swift, String container, String rFilename)
focal_class.return: String[]
focal_class.signature: String[] swiftList(SwiftTO swift, String container, String rFilename)
focal_class.class_method_signature: NfsSecondaryStorageResource.swiftDelete(SwiftTO swift, String container, String object)
focal_class.full_signature:  String swiftDelete(SwiftTO swift, String container, String object)
focal_class.identifier: swiftDelete
focal_class.parameters: (SwiftTO swift, String container, String object)
focal_class.return: String
focal_class.signature: String swiftDelete(SwiftTO swift, String container, String object)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(DeleteSnapshotsDirCommand cmd)
focal_class.full_signature: public Answer execute(DeleteSnapshotsDirCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (DeleteSnapshotsDirCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(DeleteSnapshotsDirCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(ComputeChecksumCommand cmd)
focal_class.full_signature: private Answer execute(ComputeChecksumCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (ComputeChecksumCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(ComputeChecksumCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.configCerts(KeystoreManager.Certificates certs)
focal_class.full_signature: private void configCerts(KeystoreManager.Certificates certs)
focal_class.identifier: configCerts
focal_class.modifiers: private
focal_class.parameters: (KeystoreManager.Certificates certs)
focal_class.return: void
focal_class.signature: void configCerts(KeystoreManager.Certificates certs)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(SecStorageSetupCommand cmd)
focal_class.full_signature: private Answer execute(SecStorageSetupCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (SecStorageSetupCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(SecStorageSetupCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.startPostUploadServer()
focal_class.full_signature: private void startPostUploadServer()
focal_class.identifier: startPostUploadServer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startPostUploadServer()
focal_class.class_method_signature: NfsSecondaryStorageResource.savePostUploadPSK(String psk)
focal_class.full_signature: private void savePostUploadPSK(String psk)
focal_class.identifier: savePostUploadPSK
focal_class.modifiers: private
focal_class.parameters: (String psk)
focal_class.return: void
focal_class.signature: void savePostUploadPSK(String psk)
focal_class.class_method_signature: NfsSecondaryStorageResource.deleteSnapshot(final DeleteCommand cmd)
focal_class.full_signature: protected Answer deleteSnapshot(final DeleteCommand cmd)
focal_class.identifier: deleteSnapshot
focal_class.modifiers: protected
focal_class.parameters: (final DeleteCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer deleteSnapshot(final DeleteCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.swiftListTemplate(SwiftTO swift)
focal_class.full_signature:  Map<String, TemplateProp> swiftListTemplate(SwiftTO swift)
focal_class.identifier: swiftListTemplate
focal_class.parameters: (SwiftTO swift)
focal_class.return: Map<String, TemplateProp>
focal_class.signature: Map<String, TemplateProp> swiftListTemplate(SwiftTO swift)
focal_class.class_method_signature: NfsSecondaryStorageResource.s3ListTemplate(S3TO s3)
focal_class.full_signature:  Map<String, TemplateProp> s3ListTemplate(S3TO s3)
focal_class.identifier: s3ListTemplate
focal_class.parameters: (S3TO s3)
focal_class.return: Map<String, TemplateProp>
focal_class.signature: Map<String, TemplateProp> s3ListTemplate(S3TO s3)
focal_class.class_method_signature: NfsSecondaryStorageResource.s3ListVolume(S3TO s3)
focal_class.full_signature:  Map<Long, TemplateProp> s3ListVolume(S3TO s3)
focal_class.identifier: s3ListVolume
focal_class.parameters: (S3TO s3)
focal_class.return: Map<Long, TemplateProp>
focal_class.signature: Map<Long, TemplateProp> s3ListVolume(S3TO s3)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(ListTemplateCommand cmd)
focal_class.full_signature: private Answer execute(ListTemplateCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (ListTemplateCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(ListTemplateCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(ListVolumeCommand cmd)
focal_class.full_signature: private Answer execute(ListVolumeCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (ListVolumeCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(ListVolumeCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(SecStorageVMSetupCommand cmd)
focal_class.full_signature: private Answer execute(SecStorageVMSetupCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (SecStorageVMSetupCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(SecStorageVMSetupCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.deleteLocalFile(String fullPath)
focal_class.full_signature: private String deleteLocalFile(String fullPath)
focal_class.identifier: deleteLocalFile
focal_class.modifiers: private
focal_class.parameters: (String fullPath)
focal_class.return: String
focal_class.signature: String deleteLocalFile(String fullPath)
focal_class.class_method_signature: NfsSecondaryStorageResource.allowOutgoingOnPrivate(String destCidr)
focal_class.full_signature: public String allowOutgoingOnPrivate(String destCidr)
focal_class.identifier: allowOutgoingOnPrivate
focal_class.modifiers: public
focal_class.parameters: (String destCidr)
focal_class.return: String
focal_class.signature: String allowOutgoingOnPrivate(String destCidr)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(SecStorageFirewallCfgCommand cmd)
focal_class.full_signature: private Answer execute(SecStorageFirewallCfgCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (SecStorageFirewallCfgCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(SecStorageFirewallCfgCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(UploadStatusCommand cmd)
focal_class.full_signature: private UploadStatusAnswer execute(UploadStatusCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: private
focal_class.parameters: (UploadStatusCommand cmd)
focal_class.return: UploadStatusAnswer
focal_class.signature: UploadStatusAnswer execute(UploadStatusCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(final GetStorageStatsCommand cmd)
focal_class.full_signature: protected GetStorageStatsAnswer execute(final GetStorageStatsCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: protected
focal_class.parameters: (final GetStorageStatsCommand cmd)
focal_class.return: GetStorageStatsAnswer
focal_class.signature: GetStorageStatsAnswer execute(final GetStorageStatsCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.execute(final DeleteCommand cmd)
focal_class.full_signature: protected Answer execute(final DeleteCommand cmd)
focal_class.identifier: execute
focal_class.modifiers: protected
focal_class.parameters: (final DeleteCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer execute(final DeleteCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.deleteTemplate(DeleteCommand cmd)
focal_class.full_signature: protected Answer deleteTemplate(DeleteCommand cmd)
focal_class.identifier: deleteTemplate
focal_class.modifiers: protected
focal_class.parameters: (DeleteCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer deleteTemplate(DeleteCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.deleteVolume(final DeleteCommand cmd)
focal_class.full_signature: protected Answer deleteVolume(final DeleteCommand cmd)
focal_class.identifier: deleteVolume
focal_class.modifiers: protected
focal_class.parameters: (final DeleteCommand cmd)
focal_class.return: Answer
focal_class.signature: Answer deleteVolume(final DeleteCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.getRootDir(String secUrl)
focal_class.full_signature: @Override synchronized public String getRootDir(String secUrl)
focal_class.identifier: getRootDir
focal_class.modifiers: @Override synchronized public
focal_class.parameters: (String secUrl)
focal_class.return: String
focal_class.signature: String getRootDir(String secUrl)
focal_class.class_method_signature: NfsSecondaryStorageResource.getUsedSize(String rootDir)
focal_class.full_signature: protected long getUsedSize(String rootDir)
focal_class.identifier: getUsedSize
focal_class.modifiers: protected
focal_class.parameters: (String rootDir)
focal_class.return: long
focal_class.signature: long getUsedSize(String rootDir)
focal_class.class_method_signature: NfsSecondaryStorageResource.getTotalSize(String rootDir)
focal_class.full_signature: protected long getTotalSize(String rootDir)
focal_class.identifier: getTotalSize
focal_class.modifiers: protected
focal_class.parameters: (String rootDir)
focal_class.return: long
focal_class.signature: long getTotalSize(String rootDir)
focal_class.class_method_signature: NfsSecondaryStorageResource.convertFilesystemSize(final String size)
focal_class.full_signature: protected long convertFilesystemSize(final String size)
focal_class.identifier: convertFilesystemSize
focal_class.modifiers: protected
focal_class.parameters: (final String size)
focal_class.return: long
focal_class.signature: long convertFilesystemSize(final String size)
focal_class.class_method_signature: NfsSecondaryStorageResource.getType()
focal_class.full_signature: @Override public Type getType()
focal_class.identifier: getType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Type
focal_class.signature: Type getType()
focal_class.class_method_signature: NfsSecondaryStorageResource.getCurrentStatus(final long id)
focal_class.full_signature: @Override public PingCommand getCurrentStatus(final long id)
focal_class.identifier: getCurrentStatus
focal_class.modifiers: @Override public
focal_class.parameters: (final long id)
focal_class.return: PingCommand
focal_class.signature: PingCommand getCurrentStatus(final long id)
focal_class.class_method_signature: NfsSecondaryStorageResource.configure(String name, Map<String, Object> params)
focal_class.full_signature: @Override public boolean configure(String name, Map<String, Object> params)
focal_class.identifier: configure
focal_class.modifiers: @Override public
focal_class.parameters: (String name, Map<String, Object> params)
focal_class.return: boolean
focal_class.signature: boolean configure(String name, Map<String, Object> params)
focal_class.class_method_signature: NfsSecondaryStorageResource.configureStorageLayerClass(Map<String, Object> params)
focal_class.full_signature: protected void configureStorageLayerClass(Map<String, Object> params)
focal_class.identifier: configureStorageLayerClass
focal_class.modifiers: protected
focal_class.parameters: (Map<String, Object> params)
focal_class.return: void
focal_class.signature: void configureStorageLayerClass(Map<String, Object> params)
focal_class.class_method_signature: NfsSecondaryStorageResource.startAdditionalServices()
focal_class.full_signature: private void startAdditionalServices()
focal_class.identifier: startAdditionalServices
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startAdditionalServices()
focal_class.class_method_signature: NfsSecondaryStorageResource.addRouteToInternalIpOrCidr(String localgw, String eth1ip, String eth1mask, String destIpOrCidr)
focal_class.full_signature: private void addRouteToInternalIpOrCidr(String localgw, String eth1ip, String eth1mask, String destIpOrCidr)
focal_class.identifier: addRouteToInternalIpOrCidr
focal_class.modifiers: private
focal_class.parameters: (String localgw, String eth1ip, String eth1mask, String destIpOrCidr)
focal_class.return: void
focal_class.signature: void addRouteToInternalIpOrCidr(String localgw, String eth1ip, String eth1mask, String destIpOrCidr)
focal_class.class_method_signature: NfsSecondaryStorageResource.configureSSL()
focal_class.full_signature: private void configureSSL()
focal_class.identifier: configureSSL
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void configureSSL()
focal_class.class_method_signature: NfsSecondaryStorageResource.configureSSL(String prvkeyPath, String prvCertPath, String certChainPath, String rootCACert)
focal_class.full_signature: private void configureSSL(String prvkeyPath, String prvCertPath, String certChainPath, String rootCACert)
focal_class.identifier: configureSSL
focal_class.modifiers: private
focal_class.parameters: (String prvkeyPath, String prvCertPath, String certChainPath, String rootCACert)
focal_class.return: void
focal_class.signature: void configureSSL(String prvkeyPath, String prvCertPath, String certChainPath, String rootCACert)
focal_class.class_method_signature: NfsSecondaryStorageResource.configureAuth(String user, String passwd)
focal_class.full_signature: private String configureAuth(String user, String passwd)
focal_class.identifier: configureAuth
focal_class.modifiers: private
focal_class.parameters: (String user, String passwd)
focal_class.return: String
focal_class.signature: String configureAuth(String user, String passwd)
focal_class.class_method_signature: NfsSecondaryStorageResource.configureIpFirewall(List<String> ipList, boolean isAppend)
focal_class.full_signature: private String configureIpFirewall(List<String> ipList, boolean isAppend)
focal_class.identifier: configureIpFirewall
focal_class.modifiers: private
focal_class.parameters: (List<String> ipList, boolean isAppend)
focal_class.return: String
focal_class.signature: String configureIpFirewall(List<String> ipList, boolean isAppend)
focal_class.class_method_signature: NfsSecondaryStorageResource.mountUri(URI uri)
focal_class.full_signature: protected String mountUri(URI uri)
focal_class.identifier: mountUri
focal_class.modifiers: protected
focal_class.parameters: (URI uri)
focal_class.return: String
focal_class.signature: String mountUri(URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.umount(String localRootPath, URI uri)
focal_class.full_signature: protected void umount(String localRootPath, URI uri)
focal_class.identifier: umount
focal_class.modifiers: protected
focal_class.parameters: (String localRootPath, URI uri)
focal_class.return: void
focal_class.signature: void umount(String localRootPath, URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.mount(String localRootPath, String remoteDevice, URI uri)
focal_class.full_signature: protected void mount(String localRootPath, String remoteDevice, URI uri)
focal_class.identifier: mount
focal_class.modifiers: protected
focal_class.parameters: (String localRootPath, String remoteDevice, URI uri)
focal_class.return: void
focal_class.signature: void mount(String localRootPath, String remoteDevice, URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.attemptMount(String localRootPath, String remoteDevice, URI uri)
focal_class.full_signature: protected void attemptMount(String localRootPath, String remoteDevice, URI uri)
focal_class.identifier: attemptMount
focal_class.modifiers: protected
focal_class.parameters: (String localRootPath, String remoteDevice, URI uri)
focal_class.return: void
focal_class.signature: void attemptMount(String localRootPath, String remoteDevice, URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.parseCifsMountOptions(URI uri)
focal_class.full_signature: protected String parseCifsMountOptions(URI uri)
focal_class.identifier: parseCifsMountOptions
focal_class.modifiers: protected
focal_class.parameters: (URI uri)
focal_class.return: String
focal_class.signature: String parseCifsMountOptions(URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.mountExists(String localRootPath, URI uri)
focal_class.full_signature: protected boolean mountExists(String localRootPath, URI uri)
focal_class.identifier: mountExists
focal_class.modifiers: protected
focal_class.parameters: (String localRootPath, URI uri)
focal_class.return: boolean
focal_class.signature: boolean mountExists(String localRootPath, URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.ensureLocalRootPathExists(String localRootPath, URI uri)
focal_class.full_signature: protected void ensureLocalRootPathExists(String localRootPath, URI uri)
focal_class.identifier: ensureLocalRootPathExists
focal_class.modifiers: protected
focal_class.parameters: (String localRootPath, URI uri)
focal_class.return: void
focal_class.signature: void ensureLocalRootPathExists(String localRootPath, URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.getUriHostIp(URI uri)
focal_class.full_signature: protected String getUriHostIp(URI uri)
focal_class.identifier: getUriHostIp
focal_class.modifiers: protected
focal_class.parameters: (URI uri)
focal_class.return: String
focal_class.signature: String getUriHostIp(URI uri)
focal_class.class_method_signature: NfsSecondaryStorageResource.start()
focal_class.full_signature: @Override public boolean start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean start()
focal_class.class_method_signature: NfsSecondaryStorageResource.stop()
focal_class.full_signature: @Override public boolean stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean stop()
focal_class.class_method_signature: NfsSecondaryStorageResource.initialize()
focal_class.full_signature: @Override public StartupCommand[] initialize()
focal_class.identifier: initialize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: StartupCommand[]
focal_class.signature: StartupCommand[] initialize()
focal_class.class_method_signature: NfsSecondaryStorageResource.checkForSnapshotsDir(String mountPoint)
focal_class.full_signature: protected boolean checkForSnapshotsDir(String mountPoint)
focal_class.identifier: checkForSnapshotsDir
focal_class.modifiers: protected
focal_class.parameters: (String mountPoint)
focal_class.return: boolean
focal_class.signature: boolean checkForSnapshotsDir(String mountPoint)
focal_class.class_method_signature: NfsSecondaryStorageResource.checkForVolumesDir(String mountPoint)
focal_class.full_signature: protected boolean checkForVolumesDir(String mountPoint)
focal_class.identifier: checkForVolumesDir
focal_class.modifiers: protected
focal_class.parameters: (String mountPoint)
focal_class.return: boolean
focal_class.signature: boolean checkForVolumesDir(String mountPoint)
focal_class.class_method_signature: NfsSecondaryStorageResource.createDir(String dirName, String dirLocation, String mountPoint)
focal_class.full_signature: protected boolean createDir(String dirName, String dirLocation, String mountPoint)
focal_class.identifier: createDir
focal_class.modifiers: protected
focal_class.parameters: (String dirName, String dirLocation, String mountPoint)
focal_class.return: boolean
focal_class.signature: boolean createDir(String dirName, String dirLocation, String mountPoint)
focal_class.class_method_signature: NfsSecondaryStorageResource.getDefaultScriptsDir()
focal_class.full_signature: @Override protected String getDefaultScriptsDir()
focal_class.identifier: getDefaultScriptsDir
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDefaultScriptsDir()
focal_class.class_method_signature: NfsSecondaryStorageResource.setName(String name)
focal_class.full_signature: @Override public void setName(String name)
focal_class.identifier: setName
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void setName(String name)
focal_class.class_method_signature: NfsSecondaryStorageResource.setConfigParams(Map<String, Object> params)
focal_class.full_signature: @Override public void setConfigParams(Map<String, Object> params)
focal_class.identifier: setConfigParams
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, Object> params)
focal_class.return: void
focal_class.signature: void setConfigParams(Map<String, Object> params)
focal_class.class_method_signature: NfsSecondaryStorageResource.getConfigParams()
focal_class.full_signature: @Override public Map<String, Object> getConfigParams()
focal_class.identifier: getConfigParams
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getConfigParams()
focal_class.class_method_signature: NfsSecondaryStorageResource.getRunLevel()
focal_class.full_signature: @Override public int getRunLevel()
focal_class.identifier: getRunLevel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getRunLevel()
focal_class.class_method_signature: NfsSecondaryStorageResource.setRunLevel(int level)
focal_class.full_signature: @Override public void setRunLevel(int level)
focal_class.identifier: setRunLevel
focal_class.modifiers: @Override public
focal_class.parameters: (int level)
focal_class.return: void
focal_class.signature: void setRunLevel(int level)
focal_class.class_method_signature: NfsSecondaryStorageResource.fillNetworkInformation(final StartupCommand cmd)
focal_class.full_signature: @Override public void fillNetworkInformation(final StartupCommand cmd)
focal_class.identifier: fillNetworkInformation
focal_class.modifiers: @Override public
focal_class.parameters: (final StartupCommand cmd)
focal_class.return: void
focal_class.signature: void fillNetworkInformation(final StartupCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.getScriptLocation(UploadEntity.ResourceType resourceType)
focal_class.full_signature: private String getScriptLocation(UploadEntity.ResourceType resourceType)
focal_class.identifier: getScriptLocation
focal_class.modifiers: private
focal_class.parameters: (UploadEntity.ResourceType resourceType)
focal_class.return: String
focal_class.signature: String getScriptLocation(UploadEntity.ResourceType resourceType)
focal_class.class_method_signature: NfsSecondaryStorageResource.createUploadEntity(String uuid, String metadata, long contentLength)
focal_class.full_signature: public UploadEntity createUploadEntity(String uuid, String metadata, long contentLength)
focal_class.identifier: createUploadEntity
focal_class.modifiers: public
focal_class.parameters: (String uuid, String metadata, long contentLength)
focal_class.return: UploadEntity
focal_class.signature: UploadEntity createUploadEntity(String uuid, String metadata, long contentLength)
focal_class.class_method_signature: NfsSecondaryStorageResource.checkSecondaryStorageResourceLimit(TemplateOrVolumePostUploadCommand cmd, int contentLengthInGB)
focal_class.full_signature: private synchronized void checkSecondaryStorageResourceLimit(TemplateOrVolumePostUploadCommand cmd, int contentLengthInGB)
focal_class.identifier: checkSecondaryStorageResourceLimit
focal_class.modifiers: private synchronized
focal_class.parameters: (TemplateOrVolumePostUploadCommand cmd, int contentLengthInGB)
focal_class.return: void
focal_class.signature: void checkSecondaryStorageResourceLimit(TemplateOrVolumePostUploadCommand cmd, int contentLengthInGB)
focal_class.class_method_signature: NfsSecondaryStorageResource.getVolumePathForAccount(long accountId)
focal_class.full_signature: private String getVolumePathForAccount(long accountId)
focal_class.identifier: getVolumePathForAccount
focal_class.modifiers: private
focal_class.parameters: (long accountId)
focal_class.return: String
focal_class.signature: String getVolumePathForAccount(long accountId)
focal_class.class_method_signature: NfsSecondaryStorageResource.getTemplatePathForAccount(long accountId)
focal_class.full_signature: private String getTemplatePathForAccount(long accountId)
focal_class.identifier: getTemplatePathForAccount
focal_class.modifiers: private
focal_class.parameters: (long accountId)
focal_class.return: String
focal_class.signature: String getTemplatePathForAccount(long accountId)
focal_class.class_method_signature: NfsSecondaryStorageResource.getSnapshotPathForAccount(long accountId)
focal_class.full_signature: private String getSnapshotPathForAccount(long accountId)
focal_class.identifier: getSnapshotPathForAccount
focal_class.modifiers: private
focal_class.parameters: (long accountId)
focal_class.return: String
focal_class.signature: String getSnapshotPathForAccount(long accountId)
focal_class.class_method_signature: NfsSecondaryStorageResource.isOneTimePostUrlUsed(TemplateOrVolumePostUploadCommand cmd)
focal_class.full_signature: private boolean isOneTimePostUrlUsed(TemplateOrVolumePostUploadCommand cmd)
focal_class.identifier: isOneTimePostUrlUsed
focal_class.modifiers: private
focal_class.parameters: (TemplateOrVolumePostUploadCommand cmd)
focal_class.return: boolean
focal_class.signature: boolean isOneTimePostUrlUsed(TemplateOrVolumePostUploadCommand cmd)
focal_class.class_method_signature: NfsSecondaryStorageResource.getSizeInGB(long sizeInBytes)
focal_class.full_signature: private int getSizeInGB(long sizeInBytes)
focal_class.identifier: getSizeInGB
focal_class.modifiers: private
focal_class.parameters: (long sizeInBytes)
focal_class.return: int
focal_class.signature: int getSizeInGB(long sizeInBytes)
focal_class.class_method_signature: NfsSecondaryStorageResource.postUpload(String uuid, String filename)
focal_class.full_signature: public String postUpload(String uuid, String filename)
focal_class.identifier: postUpload
focal_class.modifiers: public
focal_class.parameters: (String uuid, String filename)
focal_class.return: String
focal_class.signature: String postUpload(String uuid, String filename)
focal_class.class_method_signature: NfsSecondaryStorageResource.getPostUploadPSK()
focal_class.full_signature: private String getPostUploadPSK()
focal_class.identifier: getPostUploadPSK
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPostUploadPSK()
focal_class.class_method_signature: NfsSecondaryStorageResource.updateStateMapWithError(String uuid,String errorMessage)
focal_class.full_signature: public void updateStateMapWithError(String uuid,String errorMessage)
focal_class.identifier: updateStateMapWithError
focal_class.modifiers: public
focal_class.parameters: (String uuid,String errorMessage)
focal_class.return: void
focal_class.signature: void updateStateMapWithError(String uuid,String errorMessage)
focal_class.class_method_signature: NfsSecondaryStorageResource.validatePostUploadRequest(String signature, String metadata, String timeout, String hostname,long contentLength, String uuid)
focal_class.full_signature: public void validatePostUploadRequest(String signature, String metadata, String timeout, String hostname,long contentLength, String uuid)
focal_class.identifier: validatePostUploadRequest
focal_class.modifiers: public
focal_class.parameters: (String signature, String metadata, String timeout, String hostname,long contentLength, String uuid)
focal_class.return: void
focal_class.signature: void validatePostUploadRequest(String signature, String metadata, String timeout, String hostname,long contentLength, String uuid)
focal_class.class_method_signature: NfsSecondaryStorageResource.getTemplateOrVolumePostUploadCmd(String metadata)
focal_class.full_signature: private TemplateOrVolumePostUploadCommand getTemplateOrVolumePostUploadCmd(String metadata)
focal_class.identifier: getTemplateOrVolumePostUploadCmd
focal_class.modifiers: private
focal_class.parameters: (String metadata)
focal_class.return: TemplateOrVolumePostUploadCommand
focal_class.signature: TemplateOrVolumePostUploadCommand getTemplateOrVolumePostUploadCmd(String metadata)
focal_class.superclass: extends ServerResourceBase
focal_method.body: protected void mount(String localRootPath, String remoteDevice, URI uri) {
      s_logger.debug("mount " + uri.toString() + " on " + localRootPath);
      ensureLocalRootPathExists(localRootPath, uri);
  
      if (mountExists(localRootPath, uri)) {
        return;
      }
  
      attemptMount(localRootPath, remoteDevice, uri);
  
      // XXX: Adding the check for creation of snapshots dir here. Might have
      // to move it somewhere more logical later.
      checkForSnapshotsDir(localRootPath);
      checkForVolumesDir(localRootPath);
    }
focal_method.class_method_signature: NfsSecondaryStorageResource.mount(String localRootPath, String remoteDevice, URI uri)
focal_method.full_signature: protected void mount(String localRootPath, String remoteDevice, URI uri)
focal_method.identifier: mount
focal_method.invocations: debug toString ensureLocalRootPathExists mountExists attemptMount checkForSnapshotsDir checkForVolumesDir
focal_method.modifiers: protected
focal_method.parameters: (String localRootPath, String remoteDevice, URI uri)
focal_method.return: void
focal_method.signature: void mount(String localRootPath, String remoteDevice, URI uri)