Configuring the SAE for External Plug-Ins (SRC CLI)
You need to configure SAE external plug-ins for SAE plug-in agents in the NIC, for Admission Control Plug-Ins, and for custom plug-ins developed in Common Object Request Broker Architecture (CORBA). For information about external plug-ins, see SAE Plug-Ins.
When you use an external plug-in, you need to export its object reference to the SAE. When the SAE sends the first event to a registered plug-in, it resolves the object reference. In case of a failure, the SAE resolves the object reference again. In this case, if a plug-in restarts and instantiates a different object (that is, a different object reference), the SAE learns about the new object through the naming service or the file reference.
You can configure the SAE to resolve the object reference and specify which attributes to send to the external plug-in. To do so with the SRC CLI, use the following configuration statements:
To configure an external plug-in:
From configuration mode, access the external plug-in configuration.user@host# edit shared sae configuration plug-ins name NicAgent external
Configure the object reference of the external plug-in that is exported to the SAE.[edit shared sae configuration plug-ins name NicAgent external]user@host# set corba-object-reference corba-object-reference
Configure the attributes that are sent to the external plug-in. We recommend that you specify only the required attributes. If you do not specify any attributes, all attributes are sent.[edit shared sae configuration plug-ins name NicAgent external]user@host# set attributes [attributes...]
Type set attributes ? to list the attributes that you can specify.
(Optional) Verify your configuration.
[edit shared sae configuration plug-ins name NicAgent external] user@host# show
corba-object-reference corbaloc:boston:8801/nic; attributes [ router-name router-type interface-descr interface-speed service-bundle ];