Hello,
I was wondering if there was a way I could export then import the IP details via command line vs, having to use the gui? I am trying to script some nightly items that would look for changes and then check them back in should there be any, but have not found a good way of doing this via command line and I did not want to have to interface with the mysql backend….
I am using version 4.92a of IPPlan, if this is something that has been implemented in some way on a newer version I have no issues upgrading, just have not found it.
Regards,
Javier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to achieve the same , however I do not know how the IP address is encoded in IPPLAN and how to transform it into IP form. I am doing this from mysql :
Hello,
I was wondering if there was a way I could export then import the IP details via command line vs, having to use the gui? I am trying to script some nightly items that would look for changes and then check them back in should there be any, but have not found a good way of doing this via command line and I did not want to have to interface with the mysql backend….
I am using version 4.92a of IPPlan, if this is something that has been implemented in some way on a newer version I have no issues upgrading, just have not found it.
Regards,
Javier
Sorry there is no command line import or export. You will need to write something to talk directly to the database to do this.
I am trying to achieve the same , however I do not know how the IP address is encoded in IPPLAN and how to transform it into IP form. I am doing this from mysql :
select baseaddr from base;
but I get :
| 3232294706 |
| 3232294707 |
| 3232294720 |
| 3232294728 |
| 3232294736 |
| 3232294744 |
| 3232297400 |
| 3232297912 |
| 3232300540 |
| 3232300796 |
| 3232300800 |
| 3245337600 |
How to understand the output ?
TT=$(printf "%X" 3232294706); printf "%d.%d.%d.%d\n" 0x${TT:0:2} 0x${TT:2:2} 0x${TT:4:2} 0x${TT:6:2}
Previous post was using bash.
With Mysql :
select inet_ntoa(baseaddr) from base;