Here is an exported xls file from PHPipam.During export, we get an option to select the fields as well, I have only exported the IP address value and descriptions, in order to be compatible with django-ipam models.
--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
- the system should convert any xls to csv automatically - but this can be implemented as the last thing, you can convert it manually to CSV for now
- the system should be able to create the subnet if it doesn't exist
- the system should be able to import the same file again, if no additions were made to the file it will simply do nothing. If new addresses were added, the system will add the new addresses to the existing subnet
- our export format should be very similar to that one and the import feature should recognize the additional fields and import those too, the additional fields should be shown after (on the right) the most relevant fields (ip addresses, subnets, names, descriptions, daes and id last)- keep in mind that since IDs are present in the exported CSV generated by django-ipam, when re-importing into django-ipam, the system must use the same ID
Hi All,I did some test on phpAdmin on the import/export feature and it doesn't work properly there as well:- The export file is not in the same format of the import one. If you want to use the import feature you need to download the template fill it in and use it.- The import of list ip address in a new subnet seems it doesn't work.
- the system should convert any xls to csv automatically - but this can be implemented as the last thing, you can convert it manually to CSV for nowWe can use only CVS file for now.
- the system should be able to create the subnet if it doesn't existTrue.- the system should be able to import the same file again, if no additions were made to the file it will simply do nothing. If new addresses were added, the system will add the new addresses to the existing subnetMaybe we can implement some check to show the differences before submit the changes.
What's happen if I want remove a cert amount of ip address?
- our export format should be very similar to that one and the import feature should recognize the additional fields and import those too, the additional fields should be shown after (on the right) the most relevant fields (ip addresses, subnets, names, descriptions, daes and id last)- keep in mind that since IDs are present in the exported CSV generated by django-ipam, when re-importing into django-ipam, the system must use the same IDI think that the ID should't be in the export/import file. But the system should be able to check if an IP or Subnet already exist with the fields ipaddress and subnet into the CSV.
What's happen if I want remove a cert amount of ip address?What do you mean exactly?
Having the ID can be useful in many cases and doesn't hurt. Remember we are dealing with UUIDs and not classic mysql auto-increment IDs, so there's virtually no risk of collision when importing.
What's happen if I want remove a cert amount of ip address?What do you mean exactly?I mean, what should be the expected behaviour in case of an IP address is present in the django-ipam but not in the import file?
Having the ID can be useful in many cases and doesn't hurt. Remember we are dealing with UUIDs and not classic mysql auto-increment IDs, so there's virtually no risk of collision when importing.What happen if the import file contains an existing IP with a different UUID or an existing UUID with a different IP?If we are going to import an PhpIpam export the UUID should be generated automatically by django-ipam.