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)" -
-
H ha_tu_su referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login