2
Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Admin Domains and Brocade Network Advisor SMI Agent
1
Admin Domains and Brocade Network Advisor SMI Agent
The Brocade Network Advisor SMI Agent does not support Admin Domains though they are
supported in Brocade Network Advisor. It is recommended to exclude fabrics containing Admin
Domains using the
Resource Grouping
option in the user dialog box that can be launched from the
Configuration Tool.
Connecting to the Brocade Network Advisor SMI Agent
This section describes how to connect to the Brocade Network Advisor SMI Agent when security is
enabled and when security is not enabled.
Connecting the Brocade Network Advisor SMI Agent
when security is enabled
Connect with the Brocade Network Advisor SMI Agent as shown in the following sample Java code.
The code samples use the Java Web Start (JWS) client library. Other client libraries might differ
slightly in syntax.
On Windows and Linux:
String strCIMOMIP = "https://localhost";
String strNameSpace = "root/brocade1";
String strUser = "BNA UserName";
String strPasswd = "BNA Password";
String nsStr = protoc "://" + ho ":" + p "/" +
strNameSpace;
CIMNameSpace objCIMNameSpace = new CIMNameSpace(strCIMOMIP, strNameSpace);
UserPrincipal objUserPrincipal = new UserPrincipal(strUser);
PasswordCredential objPasswordCredential = new PasswordCredential(strPasswd);
CIMClient m_objClient = new CIMClient(objCIMNameSpace, objUserPrincipal,
objPasswordCredential);
CIMNameSpace objCIMNameSpace = new CIMNameSpace (nsStr);
Connecting the Brocade Network Advisor SMI Agent
when security is not enabled
You can connect to the SMI Agent using any UserPrincipal and PasswordCredential, as these are
not validated by the SMI Agent when security is not enabled.
For more information on authentication, refer to the authentication section in the
Brocade Network
Advisor User Manual
.
Summary of Contents for Network Advisor SMI Agent 12.0.0
Page 4: ...iv Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01...
Page 8: ...viii Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01...
Page 118: ...104 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Names 3...
Page 162: ...148 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Life cycle indications 4...