NetXMS Support Forum

English Support => General Support => Topic started by: snobb on May 04, 2014, 10:21:19 AM

Title: Writing my own network driver
Post by: snobb on May 04, 2014, 10:21:19 AM
Hi,

first of all. With NetXMS you did a really nice job! I can nearly do everything what I want. (Although it will take some time to get every device configured :)

So, why I am here. I have several HP A5500-EI (== H3C S5500-EI == 3Com 4800G) switches. In general, is it possible to write my own network driver for switches (and "load" it into NetXMS)?

For H3C, it seems the work has already been started: www.netxms.org/forum/general-support/h3c-s5500-52c-pwr-ei-network-driver/ but hasn“t been imported inti NetXMS, yet. (At least, for my H3C switches "GENERIC" driver is loaded)

Best Regards
Michael
Title: Re: Writing my own network driver
Post by: Victor Kirhenshtein on May 05, 2014, 04:05:13 PM
Hi!

Drivers are written in C++. They all extends base driver class and overrides methods needed to provide accurate information. Most important is to mark physical ports in interface list and provide VLAN information. All existing driver sources located under src/server/drivers - you can take a look.

My main problem with H3C driver is that I currently does not have access to any HP A series device for testing. I can assist you in driver development if you want to take it. Alternatively, I can write a driver if you can provide me with remote access over SNMP to some test device.

Best regards,
Victor
Title: Re: Writing my own network driver
Post by: doki on June 18, 2014, 10:18:01 AM
Hi kirhenshtein,

I can provide you access to a A5500 or A5800 switch via team viewer> PC with the console port connected to the switch. Let me know if this is ok with you.

I cannot provide you access via snmp due to restricted firewall policy we have.

Thanks
Title: Re: Writing my own network driver
Post by: doki on July 15, 2014, 05:17:08 PM
anybody want to check? just let me know so i can prepare the PC with console port connected to a A-series switch.
Title: Re: Writing my own network driver
Post by: Victor Kirhenshtein on July 15, 2014, 05:50:44 PM
Hi,

unfortunately console access is not enough. I need SNMP access to see switch responses and to test the driver.

Best regards,
Victor
Title: Re: Writing my own network driver
Post by: snobb on October 04, 2014, 12:27:31 AM
Hi,

do you still need SNMP access to an H3C switch?
Title: Re: Writing my own network driver
Post by: Victor Kirhenshtein on October 06, 2014, 04:22:15 PM
Yes, that will help.

Best regards,
Victor
Title: Re: Writing my own network driver
Post by: snobb on October 09, 2014, 09:12:18 PM
@Victor PM sent with H3C switch access information
Title: Re: Writing my own network driver
Post by: Victor Kirhenshtein on October 10, 2014, 11:02:31 AM
Thank you! I'll try to use it later today.

Best regards,
Victor