JSSSubnetImporter

ImAMacGuy
Valued Contributor II

This is a continuation from the KB article.

it makes more sense now, but it's still not showing in the JSS. I got rid of the error: Text Subnet IMporter: Could not find specified file from the logs by doing a get info on the file and unchecking Hide Extension.

Now the log is showingExporting to TSI
After building doc object
CSV parser object created
Checking CSV file
Parsing CSV file and submitting to JSS
POST to JSS
TSI finished exporting. (Succeeded).

I've tried while the account was signed into the JSS, while out of the JSS, refreshing, changing pages and going back in... with the CSV file open, with the CSV file closed, in the same directory as the JSSConduit.jar, in different directory as the JSSConduit.jar, moving the whole folder to a different location. I've created a "segments" account with the correct API settings from Step 9 - and that bombs out unless I grant all privileges, if I grant all though, i get teh same results as when I use my ID - completes successfully, but no update to the JSS.

here is my sample CSV file...

name starting_address ending_address distribution_point url netboot_server swu_server building department override_buildings override_departments CLL_Core1a 10.26.136.1 10.26.136.255 srshofmacdply01.kih.kmart.com Hoffman Hoffman Backup HE_CLL No Department TRUE FALSE
4 REPLIES 4

jake
Contributor II
Contributor II

Hey John -

It looks like the CSV was modified a little. I do not see the override_buildings field above, also the department entered as "No Department" will not work. The department needs to exist in the JSS.

Lets go back to the original sample file and just start with seeing if we can import a network segment with nothing else to see if that works.

Then we can start building on top of that with distribution points and netboot servers. Let me know.

Thanks!

ImAMacGuy
Valued Contributor II

they are both there. The override departments we don't set, and in the drop down box there is a no department option. I've tried with it blank and with No Department in case something need to be there.

ImAMacGuy
Valued Contributor II

whoa, that worked. removing everything except for the Name of the subnet, and the start / stop IPs and that worked.

ImAMacGuy
Valued Contributor II

i just plugged in everything 1 by 1 and they all filled in properly.

Thank you :)