Add Group-Global Service Objects - Juniper NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 Manual

Api guide
Table of Contents

Advertisement

Add Group-Global Service Objects

Copyright © 2010, Juniper Networks, Inc.
$members = {
]};
$result
= $service->addServiceObjects('OBJECT_NAME'=>'Service-4',
'APPLICATION'=>'DNS', 'GROUP_MEMBERS'=>$members
Log out.
4.
This section shows how to add Group-Global service objects.
To add a group/global service object:
Log into the Perl client.
1.
Add the object.
2.
Enter:
my $result
= $service->addGroupObjects( 'OBJECT_NAME'=>'Group-1' );
my $members = ['EGP'];
$service->addGroupObjects( 'OBJECT_NAME'=>'Group-2',
'GROUP_MEMBERS'=>$members );
$members = ['BGP','EGP'];
$service->addGroupObjects( 'OBJECT_NAME'=>'Group-3',
'GROUP_MEMBERS'=>$members );
$result
= $service->addGlobalObjects( 'OBJECT_NAME'=>'Poly-1' );
[{'DOMAIN'=>'global'}];
'OBJECT_NAME'=>'Poly-2',
$members = [{'DEVICE'=>'droopy'},{'SERVICE'=>'EGP'}];
$service->addGlobalObjects( 'OBJECT_NAME'=>'Poly-3',
'GROUP_MEMBERS'=>$members );
'OBJECT_NAME'=>'Poly-4',
Log out.
3.
Chapter 8: Using the API to Manage Shared Objects
{},{}
$result
$result
$members =
$result
= $service->addGlobalObjects(
'GROUP_MEMBERS'=>$members );
$result
= $service->addGlobalObjects(
'GROUP_MEMBERS'=>$members );
'MS_RPC'=>[
);
=
=
$result
=
$members = [{},{}];
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Network and security manager 2010.4

Table of Contents