View Full Version : User defined protocols?
jonesy
06-12-2008, 01:02 PM
Hi,
I want to add an SNMP interface to my appliances, but that protocol is not listed as an option when I define a new interface for a component. I'd rather *not* define one 'catch-all' interface if I can help it. Is there a way for me to define a protocol myself, just to map a name to a port for an interface?
Thanks.
PeterNic
06-12-2008, 04:52 PM
jonesy,
Yes, you can!
While the appliance is still a singleton, add the protocol to the Application Protocols table in the Protocols tab of the Application Configuration property sheet (see http://doc.3tera.net/AppLogic2/RefAppConfig.html#Protocols). Save the app.
Then you should be able to use newly defined protocols for interfaces of your appliance(s). When you move the appliance into the catalog, the protocol will move with it into the catalog.
Keep in mind:
the protocols are not currently enforced (but they will be in the future -- both as design verification and at runtime).
if you have the same protocol defined in more than one way (different filter strings), you may experience problems with editing and building applications. I suggest using the following definition: name="snmp", filter="udp:161,162".
Let me know if this helps.
Regards,
-- Peter
vBulletin® v3.7.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.