Option to Create Host only Private Network
-
Is there an option exposed in XOA/XO for creation of a host only network which is not exposed via a physical NIC. I am able to do this via the CLI but I do not seem to be able to do it via XOA as it errors out if I try to create a network without a NIC assigned to it. Once it is created via the CLI then it appears in the Private networks section
Thanks
-
New/Network/don't select any PIF/create
And you are set
-
Thanks
It does not work. I get the error illegal Parameter
This is what is logged (Seems it is expecting a VLAN !!)
network.create { "description": "Test To create a Host Only Network ", "name": "Test", "pool": "562febd7-1094-c282-3364-ab0d5534333e", "vlan": "" } { "code": 10, "data": { "errors": [ { "instancePath": "/vlan", "schemaPath": "#/properties/vlan/minLength", "keyword": "minLength", "params": { "limit": 1 }, "message": "must NOT have fewer than 1 characters" } ] }, "message": "invalid parameters", "name": "XoError", "stack": "XoError: invalid parameters at Module.invalidParameters (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32) at Xo.call (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:65:20) at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:397:19)"
-
-