Network Templates - wizard not showing

Please, describe the problem here and provide additional information below (if applicable) …


Versions of the related components and OS (frontend, hypervisors, VMs):slight_smile:

version 7

Steps to reproduce:

created Network template using :slight_smile:

NAME   = “Isolated-OVS-VLAN-Provisioning”
DESCRIPTION = “Wizard to create an isolated tenant network using OVS.”


VN_MAD = “ovswitch”
BRIDGE = “onebr-tenant”


VLAN_ID      = “$VLAN_ID”
GATEWAY      = “$GATEWAY”
DNS          = “$DNS”
NETWORK_MASK = “$NETWORK_MASK”


AR = [
TYPE = “IP4”,
IP   = “$NETWORK_ADDRESS”,
SIZE = “254”
]


USER_INPUTS = [
VLAN_ID         = “M|number|VLAN ID (Check your assigned range)”,
NETWORK_ADDRESS = “M|ip|Starting IP for the range (e.g. 192.168.1.2)”,
NETWORK_MASK    = “M|ip|Netmask (e.g. 255.255.255.0)”,
GATEWAY         = “M|ip|Gateway IP (usually .1 of your range)”,
DNS             = “O|ip|DNS Server (e.g. 8.8.8.8)”
]

Current results:

try creating a vnet as vdc-admin user the wizard does not show

  1. configuration → Virtual Network Name
  2. advanced options → address/security/context
    in context i can input ip/gw/mask/etc but not vlan

Expected results:

wizard should show to input ip/gw/mask/vlan/ etc

Hello @hoosain,

Apologies for the late reply. From what I could investigate, here are a few steps you should check:

  • Ensure the template is truly a Network Template and not just a VM template
  • Check your USER_INPUTS syntax
  • Test as an admin user: Try the same instantiate flow as the oneadmin user instead of a VDC-admin.
  • Quickly test with the CLI (onetemplate instantiate … --user_input … ) just to confirm that the template inputs are recognized by the backend even if Sunstone doesn’t show them.

If you can share a stripped-down version of the template text (just the attributes and USER_INPUTS), it’ll be easier for others to spot if something in the syntax is preventing Sunstone from rendering the VLAN input.

Let me know if this helped or not.

Cheers,