lamoni / jsnapcommander
处理 Juniper 的 Snapshot Administrator (JSnap) 的 PHP 类
v1.0.1
2015-12-15 06:06 UTC
This package is not auto-updated.
Last update: 2024-09-28 18:04:15 UTC
README
处理 Juniper 的 Junos Snapshot Administrator (JSnap) 的 PHP 类
示例
$commander = new JSnapCommander( new JSnapTriggerDriverShell( new JSnapConfigTriggerShell( array( 'JSnapExecutable' => '/vagrant/junos-snapshot-administrator/bin/jsnap', 'ConfigFile' => '/vagrant/junos-snapshot-administrator/jsnap/samples/sample.conf', 'JuiseExecutable' => '/usr/jawa/bin/juise', 'SwapPath' => '/var/www/html/swap/', 'DeviceUsername' => 'root', 'DevicePassword' => 'Juniper' ) ) ), new JSnapIODriverFiles( new JSnapConfigIOFiles( array( 'SwapPath' => '/var/www/html/swap/' ) ) ) ); $commander->snapShot('192.168.33.11');