Below is an example to create two vlans using deviceCreate API
stc::perform DeviceCreate -parentlist project1 -ifstack "Ipv4If VlanIf VlanIf EthIIIf" -ifcount "1 1 1 1" -port port1 -devicetype Host