$members = {
'MS_RPC'=>[
{},{}
]};
$result = $service->addServiceObjects('OBJECT_NAME'=>'Service-4',
'APPLICATION'=>'DNS', 'GROUP_MEMBERS'=>$members );
4.
Log out.
Add Group-Global Service Objects
This section shows how to add Group-Global service objects.
To add a group/global service object:
1.
Log into the Perl client.
2.
Add the object.
Enter:
my $result = $service->addGroupObjects( 'OBJECT_NAME'=>'Group-1' );
my $members = ['EGP'];
$result =
$service->addGroupObjects( 'OBJECT_NAME'=>'Group-2',
'GROUP_MEMBERS'=>$members );
$members = ['BGP','EGP'];
$result =
$service->addGroupObjects( 'OBJECT_NAME'=>'Group-3',
'GROUP_MEMBERS'=>$members );
$result = $service->addGlobalObjects( 'OBJECT_NAME'=>'Poly-1' );
$members =
[{'DOMAIN'=>'global'}];
$result = $service->addGlobalObjects(
'OBJECT_NAME'=>'Poly-2', 'GROUP_MEMBERS'=>$members );
$members = [{'DEVICE'=>'droopy'},{'SERVICE'=>'EGP'}];
$result =
$service->addGlobalObjects( 'OBJECT_NAME'=>'Poly-3',
'GROUP_MEMBERS'=>$members ); $members = [{},{}];
$result = $service->addGlobalObjects(
'OBJECT_NAME'=>'Poly-4', 'GROUP_MEMBERS'=>$members );
3.
Log out.
89
Copyright © 2010, Juniper Networks, Inc.
Chapter 8: Using the API to Manage Shared Objects
Содержание NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 10: ...Copyright 2010 Juniper Networks Inc x Network and Security Manager 2010 4 API Guide...
Страница 12: ...Copyright 2010 Juniper Networks Inc xii Network and Security Manager 2010 4 API Guide...
Страница 20: ...Copyright 2010 Juniper Networks Inc 2 Network and Security Manager 2010 4 API Guide...
Страница 24: ...Copyright 2010 Juniper Networks Inc 6 Network and Security Manager 2010 4 API Guide...
Страница 34: ...Copyright 2010 Juniper Networks Inc 16 Network and Security Manager 2010 4 API Guide...
Страница 58: ...Figure 10 IDP Rulebase Copyright 2010 Juniper Networks Inc 40 Network and Security Manager 2010 4 API Guide...
Страница 92: ...Copyright 2010 Juniper Networks Inc 74 Network and Security Manager 2010 4 API Guide...
Страница 98: ...Copyright 2010 Juniper Networks Inc 80 Network and Security Manager 2010 4 API Guide...
Страница 100: ...Copyright 2010 Juniper Networks Inc 82 Network and Security Manager 2010 4 API Guide...
Страница 112: ...Copyright 2010 Juniper Networks Inc 94 Network and Security Manager 2010 4 API Guide...
Страница 128: ...Copyright 2010 Juniper Networks Inc 110 Network and Security Manager 2010 4 API Guide...
Страница 138: ...Copyright 2010 Juniper Networks Inc 120 Network and Security Manager 2010 4 API Guide...
Страница 152: ...Copyright 2010 Juniper Networks Inc 134 Network and Security Manager 2010 4 API Guide...
Страница 165: ...PART 6 Index Index on page 149 147 Copyright 2010 Juniper Networks Inc...
Страница 166: ...Copyright 2010 Juniper Networks Inc 148 Network and Security Manager 2010 4 API Guide...