Start a new topic
Answered

Subnet template

I just found out about templates for Royal TSX. It is possible to create a template and have values filled out based on an IP subnet and site name? For ex.


Enter values:

Site Name: SITE52

Subnet: 10.1.1


Produces the following:

Folder: SITE52

Server1: Name: SITE52-1; IP: 10.1.1.1

Server2: Name: SITE52-2; IP: 10.1.1.2

SSH1: Name: SITE52-ESXi-1; IP: 10.1.1.3

SSH1: Name: SITE52-ESXi-2; IP: 10.1.1.4

Web1: Name: SITE53-FW; IP: 10.1.1.5


Best Answer

Hey,


yes, you could create a CSV file and import that into Royal TSX via "Import - CSV file...".

Alternatively, you might want to check out our AppleScript interface to roll your own importer: https://www.royalapplications.com/go/kb-ts-mac-applescript-samples


cheers,

felix


Hi there,


no, that's not possible with templates. For the next major release we will have a feature that will allow you to dynamically create objects inside a folder using scripts. This will allow you to do such things.


cheers,

felix

Thanks, Felix. That sounds like an excellent feature - I'm looking forward to it.

Can you suggest another way that I might be able to do this in the meantime? Maybe import a CSV file of some sort? Asking as I have hundreds of sites to do this for and most of them follow the same configuration other than the site name and IP subnet.

 

Answer

Hey,


yes, you could create a CSV file and import that into Royal TSX via "Import - CSV file...".

Alternatively, you might want to check out our AppleScript interface to roll your own importer: https://www.royalapplications.com/go/kb-ts-mac-applescript-samples


cheers,

felix

Login or Signup to post a comment