Forum Discussion

ldeneken's avatar
Icon for Nimbostratus rankNimbostratus
Mar 15, 2023

import data from excel into datagroup

Hi, I have an excel sheet with a mix large numers of hosts and networks; This is an example of the data I have. The real file is +100's of lines ...
  • JRahm's avatar
    Mar 17, 2023

    hi ldeneken, you can't upload in that format. The format to upload requires host/network keywords and if you are using key / value pairs, you also need the separator before your values, like this from AskF5 Solution K73862425:

    # cat ext_dg_address.txt
    host := "host 2",
    network mask := "network 3",
    network prefixlen 24,

    I created a python script to do this work (for address only) on your behalf, it's here in a gist on GitHub.