Menu

#209 Ripe export via email

Next_Release
open
nobody
None
1
2019-10-22
2014-04-28
Viktor
No

IPAM is a great tool. There's just one thing missing for making it complete. A Ripe Export function. For instance, you can export subnets to ripe via email to auto-dbm AT ripe.net.

http://www.ripe.net/data-tools/support/documentation/getting-started

For example, here's a dumbed-down version on how to do this with PHP variables. And how it could be setup in IPAM.

$ripePassword, $ARnumber, $mnt, $country is set via adminpanel in IPAM.
$netname, $desc1 and $desc2, if set in adminpanel will append/prequel the text to the description taken from the subnet.

password: $ripePassword

inetnum: $range_start_ip - $range_end_ip
netname: $netname
descr: $desc1
descr: $desc2
country: $country
remarks: INFRA-AW
admin-c: $ARnumber-RIPE
tech-c: $ARnumber-RIPE
status: ASSIGNED PA
mnt-by: $mnt
mnt-lower: $mnt
mnt-routes: $mnt
mnt-domains: $mnt
changed: $email
source: RIPE

In my example below:
$ripePassword = test123
$netname = SE-COMPANY-
$desc1 = My Companyname
etc
Subnets description taken from IPAM for that subnet = Bosse Boden
in the netname, IPAM only takes the first word of the description and uppercases it.
in the first description IPAM takes the whole description as is.
in both cases IPAM will prequel with the $netname and $desc1 which was set in IPAM adminpanel.

The outgoing email would be:

password: test123

inetnum: 192.168.180.0 - 192.168.180.255
netname: SE-COMPANY-BOSSE
descr: My Companyname Bosse Boden
descr: City
country: SE
remarks: INFRA-AW
admin-c: AR1234-RIPE
tech-c: AR1234-RIPE
status: ASSIGNED PA
mnt-by: COMPANY-SE-MNT
mnt-lower: COMPANY-SE-MNT
mnt-routes: COMPANY-SE-MNT
mnt-domains: COMPANY-SE-MNT
changed: noc@companytest.se
source: RIPE

Discussion

  • Anonymous

    Anonymous - 2017-02-02
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2019-10-22
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.