Skip to content

Commit aef2e56

Browse files
BajuMcBitesstgraber
authored andcommitted
doc: Update configs
signed-off-by: Avi Patel <[email protected]>
1 parent dc92dd7 commit aef2e56

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

doc/config_options.txt

+41
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,47 @@ For file systems (shared directories or custom volumes), this is one of:
15751575
```
15761576

15771577
<!-- config group image-requirements end -->
1578+
<!-- config group infiniband-common start -->
1579+
```{config:option} hwaddr infiniband-common
1580+
:defaultdesc: "randomly assigned"
1581+
:required: "no"
1582+
:shortdesc: "The MAC address of the new interface (can be either the full 20-byte variant or the short 8-byte variant, which will only modify the last 8 bytes of the parent device)"
1583+
:type: "string"
1584+
1585+
```
1586+
1587+
```{config:option} mtu infiniband-common
1588+
:defaultdesc: "parent MTU"
1589+
:required: "no"
1590+
:shortdesc: "The MTU of the new interface"
1591+
:type: "integer"
1592+
1593+
```
1594+
1595+
```{config:option} name infiniband-common
1596+
:defaultdesc: "kernel assigned"
1597+
:required: "no"
1598+
:shortdesc: "The name of the interface inside the instance"
1599+
:type: "string"
1600+
1601+
```
1602+
1603+
```{config:option} nictype infiniband-common
1604+
:required: "yes"
1605+
:shortdesc: "The device type (one of `physical` or `sriov`)"
1606+
:type: "string"
1607+
1608+
```
1609+
1610+
```{config:option} parent infiniband-common
1611+
:defaultdesc: "kernel assigned"
1612+
:required: "no"
1613+
:shortdesc: "The name of the interface inside the instance"
1614+
:type: "string"
1615+
1616+
```
1617+
1618+
<!-- config group infiniband-common end -->
15781619
<!-- config group instance-boot start -->
15791620
```{config:option} boot.autorestart instance-boot
15801621
:liveupdate: "no"

internal/server/metadata/configuration.json

+50
Original file line numberDiff line numberDiff line change
@@ -1810,6 +1810,56 @@
18101810
]
18111811
}
18121812
},
1813+
"infiniband": {
1814+
"common": {
1815+
"keys": [
1816+
{
1817+
"hwaddr": {
1818+
"defaultdesc": "randomly assigned",
1819+
"longdesc": "",
1820+
"required": "no",
1821+
"shortdesc": "The MAC address of the new interface (can be either the full 20-byte variant or the short 8-byte variant, which will only modify the last 8 bytes of the parent device)",
1822+
"type": "string"
1823+
}
1824+
},
1825+
{
1826+
"mtu": {
1827+
"defaultdesc": "parent MTU",
1828+
"longdesc": "",
1829+
"required": "no",
1830+
"shortdesc": "The MTU of the new interface",
1831+
"type": "integer"
1832+
}
1833+
},
1834+
{
1835+
"name": {
1836+
"defaultdesc": "kernel assigned",
1837+
"longdesc": "",
1838+
"required": "no",
1839+
"shortdesc": "The name of the interface inside the instance",
1840+
"type": "string"
1841+
}
1842+
},
1843+
{
1844+
"nictype": {
1845+
"longdesc": "",
1846+
"required": "yes",
1847+
"shortdesc": "The device type (one of `physical` or `sriov`)",
1848+
"type": "string"
1849+
}
1850+
},
1851+
{
1852+
"parent": {
1853+
"defaultdesc": "kernel assigned",
1854+
"longdesc": "",
1855+
"required": "no",
1856+
"shortdesc": "The name of the interface inside the instance",
1857+
"type": "string"
1858+
}
1859+
}
1860+
]
1861+
}
1862+
},
18131863
"instance": {
18141864
"boot": {
18151865
"keys": [

0 commit comments

Comments
 (0)