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
.
Содержание Network Advisor SMI Agent 12.0.0
Страница 4: ...iv Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01...
Страница 8: ...viii Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01...
Страница 22: ...8 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Discovering a fabric and a host 1...
Страница 34: ...20 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Fabric profile 3 FIGURE 9 Fabric profile...
Страница 54: ...40 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Fabric profile 3 FIGURE 19 FDMI data model...
Страница 118: ...104 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Names 3...
Страница 162: ...148 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Life cycle indications 4...
Страница 172: ...158 Brocade Network Advisor SMI Agent Developer s Guide 53 1002701 01 Brocade Network Advisor SMI Agent Error Codes A...