Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Office IP Copier - Selfmade Java Tool for convenience 8

Status
Not open for further replies.

Alfalis

Technical User
Oct 15, 2012
250
DE
Hi everyone,

I want to share a little program of mine I wrote.
Basically it's designed to make my day-to-day live as an IPO technician more comfortable.

ipcopierexample.png

What it is:
A little Java application showing you a list of all the IPOs you need to administrate at work.

What you can do:
Click the customers name to copy the IP of the IPO (hence the name IP Copier) into your clipboard.
Hover over the customers name to see the IP in a little tooltip.
Use the ping button to.. well you know ;)
The config button will configure the lan interface of your computer according to the customers network and IPO.
And finally (of course) you can edit the config.txt to add/remove customers and change settings.

Why I wrote IPC:
Because of my bad memory and my laziness ;D
Whenever I wanted to connect to one of our customers IPO first I had to look into an excel sheet containing all our customers informations including the IP of the IPO, set up my lan interface accordingly and finally type the IP into Manager (because 255x4 doesn't work if you're not in the same subnet plus using the broadcast address is fairly slow). So I started working on a very early and simple version of IPC with only one feature: Copy the IP by clicking the customers name..
After I had another few hours of spare time I added the ping and the config feature, making IPC even more convenient :)


So far I tested it on XP 32bit and Win7 64bit but as it's written in Java I'm sure it will work under almost every operating system.

Download @ Dropbox (13KB)

Please feel free to give me any feedback you can including questions, bug reports and new ideas!


thx and have fun
Alfalis

ptc.png


ACSS
 
@Westi: Expect it for the next release - the rim I mean, not the coffee (although I'm sure by now there are some coffee machines out there with wifi built in and an API..) :D

@amriddle01: Launching SSA should be no problem, but automatically setting the IP won't work I'm afraid..
"Both Avaya IP Office System Monitor and System Status interfaces are proprietary and no public API documents are available for them." (from DevConnect)

'No public API documents' sounds to me like there is an API but it simply hasn't been published yet - I guess there is no one here who has access to any non-public documentations? ;P


I'm thinking of a dropdown menu with all the IPOs listed in the config.txt with a button "Launch SSA" right next to it. Clicking this button would copy the IP of the IPO selected in the dropdown to your clipboard, close IPC and open SSA. This way once more it would only take a simple paste and you would be good to go - any thoughts on that?

ptc.png


ACSS
 
that sounds good to me, simple click and copy

maybe leave the app open when you pick a system instead of closing it just in case you have to copy it again or are lazy like me :)

too bad about the coffee, how about pouring your beer seeing that you are in Germany and all :) or Bavaria , one or the other if I remember correctly.

Joe W.

FHandw, ACSS (SME), ACIS (SME)



“Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives.”
 
@JayNEC: Oh ok, did not know that:) How does netsh work on XP?

For example Win7 uses "netsh interface ipv4"

WinXP uses "netsh interface ip"

There's a few other differences in the syntax as well depending on what you're setting...

New England Communications
 
Ah yeah, XP didn't support IPv6 back in the day, right?

The commands used by IPC are:
netsh interface ipv4 set address name="Ethernet" static xxxxxxx (ip subnet gateway)
netsh interface ipv4 set address name="Ethernet" source=dhcp

Are you working on a XP machine? If yes could you please look up the syntax and post? Thx :)

Yeah Westi, I live in Bavaria (more like Oktoberfestland at the moment^^ xD)
I'm thinking about adding a setting in the config whether IPC should be closed after clicking a companys name / the Launch SSA button or not. That way everyone can decide for themselves ;)

ptc.png


ACSS
 
I am so jealous that you can do this, I would love to play with this stuff but I guess I keep playing with the IP Office as long as I can still make sense out of it.

Joe W.

FHandw, ACSS (SME), ACIS (SME)



“Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives.”
 
nice job
and works like a charm :)
you should start a new thread so I can give you more stars

Joe W.

FHandw, ACSS (SME), ACIS (SME)



“Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives.”
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top