Forum Discussion

Anthony_Pineda's avatar
Anthony_Pineda
Icon for Nimbostratus rankNimbostratus
Feb 26, 2020

AS3 declaration

In all the example declarations I've seen so far, it lists the virtual server name as serviceMain and if I deviate from that by giving it my own virtual server name like testme123.example.com-80 it ...
  • suttonsc's avatar
    Feb 27, 2020

    I believe this has to do with the template type you are using.

    Try to change the template from http to generic and then change the serviceMain to testme123.example.com-80.

    When using the 'http' template I can get the same error:

             "Sample_01": {
                 "class": "Tenant",
                 "testme123.example.com-80": {
                     "class": "Application",
                     "template": "http",       <<<<<<<< Change to generic
                     "serviceMain": {
                         "class": "Service_HTTP",
                         "virtualAddresses": [
                             "10.0.1.11"
                         ],

    Altered the template type to generic and it deployed the virtual server with the matching name:

             "Sample_01": {
                 "class": "Tenant",
                 "testme123.example.com-80": {
                     "class": "Application",
                     "template": "generic",
                     "testme123.example.com-80": {
                         "class": "Service_HTTP",
                         "virtualAddresses": [
                             "10.0.1.11"
                         ],