Quantcast
Channel: Rockstor Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 1937

Add an “index” to the Port Object of Rockon conf file

$
0
0

@aremiaskfa wrote:

Hello again,

Current Port Object schema:

{
  "description": "<A detailed description of this port mapping, why it's for etc..>",
  "label": "<A short label for this mapping. eg: Web-UI port>",
  "host_default": <integer: suggested port number on the host. eg: 8080>,
  (optional)"protocol": "<tcp or udp>",
  (optional)"ui":true,  not needed if false
}

Proposed changed:

{
“description”: “<A detailed description of this port mapping, why it’s for etc…>”,
“label”: “”,
“host_default”: <integer: suggested port number on the host. eg: 8080>,
(optional)“protocol”: “”,
(optional)“ui”:true, not needed if false
(optional)“index”: “<integer: 1 or above. order of this port, if relevant>”
}

Why?
Sometimes one might want to group together the ports that logically fit together. Or one might want to put the most important (most likely that the user will want to change) on top.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1937

Trending Articles