IN PROGRESS
Scope
- YADE implements a Virtual File System that supports a number of data providers, e.g. SMB/CIFS protocol implementation by Samba.
- Data providers can make use of individual Java properties, e.g. for SMB/CIFS to specify compatibility levels for authentication with NTLMv2 and newer or for SFTP to specify packet compression to zlib, compression level 9 or Cipher blowfish-cbc,aes192-ctr.
- YADE allows to specify Java property files at a global level and individually per transfer fragment.
- YADE allows to specify configuration files individually per transfer fragment.
YADE Java Property File Configuration
YADE System Property Configuration
The System property is a global property available to all protocol fragments and transfer profiles. The SystemPropertyFiles
option can be assign a semicolon separated list of property files. The property files can contain on or more properties as key value pairs.
known_hosts=/home/gollum.sos/.ssh/known_hosts
Example
Description
- The YADE profile has three sections 1. globals section 2. Protocol sections and 3. Transfer profile sections.
- The system properties configure under globals section with option system_property_files will be available to all the protocol fragments and transfer profiles.
- In following example the location of hashed known hosts file is configured as name value pair in the file
hashed_known_hosts.ini.
The
known_hosts
system property will be available and applied to all the fragments and profile using SFTP data provider e.g. to protocol fragments protocol_fragment_sftp@sftp-uk.sos and protocol_fragment_sftp@sftp-japan.sos.
YADE Settings
YADE Configuration Files Configuration
The ConfigurationFiles are properties available only to the protocol fragments they are assigned. The ConfigurationFile option can be assign a semicolon separated list of property files. The property files can contain on or more properties as key value pairs.
Example
- SFTP packet compression configuration sftp-zlip-compression.ini
compression.s2c=zlib@openssh.com,zlib,none compression.c2s=zlib@openssh.com,zlib,none compression_level=9
- SFTP Cipher configuration sftp-cipher-aes128-ctr.ini
cipher=aes128-ctr
Description
- The global SystemProperty file will be used as described in the previous section.
- In following example the two configuration files are created, both of them has configuration properties for the SFTP data provider
sftp-zlip-compression.ini
: effects packet compression during transfer over SFTP.sftp-cipher-aes128-ctr.ini
: effects Cipher used by SFTP data provider.
The
sftp-zlip-compression.ini
is being assigned to the protocol fragmentprotocol_fragment_sftp@sftp-uk.sos
using, thus the packet compression properties will only be applicable to the protocol fragmentprotocol_fragment_sftp@sftp-uk.sos.
Similarly the sftp-cipher-aes128-ctr.ini is being assigned to the protocol fragment
protocol_fragment_sftp@sftp-japan.sos
, thus the Cipher aes128-ctr will only be applicable to the transfers using the protocol fragment protocol_fragment_sftp@sftp-japan.sos.
YADE Settings
References
Change Management References