Juniper NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 Manual page 110

Api guide
Table of Contents

Advertisement

Network and Security Manager 2010.4 API Guide
92
To read device objects:
Log into the Perl client.
1.
Initialize the device object. Enter:
2.
my $device = UTILS::DEVICE->init( 'SOAP'=>$connect );
Read the object. Enter:
3.
my( $result, $values )
$device->getDeviceObjects('OBJECT_NAME'=>['sweepea','droopy'] );
while( my $hash = shift(@{$values} ) ){
print "\n--------------------------\n";
while( my ($key, $val ) = each( %{$hash } ) ){
put_log('INFO',msg=> "KEY : $key\t
}
Log out.
4.
=
VALUE : $val" ); }
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Network and security manager 2010.4

Table of Contents