Skip to content

Commit af09bcf

Browse files
committed
tbs
Signed-off-by: Pau Capdevila <pau@githedgehog.com>
1 parent 53f132f commit af09bcf

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/reference/cli.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ kubectl fabric vpc create --name vpc-1 --subnet 10.0.1.0/24 --vlan 1001 --dhcp -
8282

8383

8484
**Options:**
85+
8586
- `--name` – VPC name.
8687
- `--subnet` – Subnet in CIDR format (**required**).
8788
- `--vlan` – VLAN ID (**required**).
@@ -99,6 +100,7 @@ kubectl fabric vpc attach --vpc-subnet vpc-1/default --connection server-01
99100

100101

101102
**Options:**
103+
102104
- `--vpc-subnet` – VPC subnet name (**required**).
103105
- `--connection` – Connection name (**required**).
104106

@@ -111,6 +113,7 @@ kubectl fabric vpc peer --vpc vpc-1 --vpc vpc-2
111113

112114

113115
**Options:**
116+
114117
- `--vpc` – VPC names (**required**).
115118

116119
#### `wipe`
@@ -138,6 +141,7 @@ kubectl fabric switch ip --name switch-01
138141

139142

140143
**Options:**
144+
141145
- `--name` – Switch name.
142146
- `--username` – SSH username (default: "admin").
143147

@@ -150,6 +154,7 @@ kubectl fabric switch reboot --name switch-01 --yes
150154

151155

152156
**Options:**
157+
153158
- `--name` – Switch name.
154159
- `--yes` – Confirm reboot.
155160

@@ -164,6 +169,7 @@ kubectl fabric connection get management
164169

165170

166171
**Options:**
172+
167173
- `--type` – Connection type (`management`, `fabric`, `vpc-loopback`).
168174

169175
---
@@ -177,6 +183,7 @@ kubectl fabric switchgroup create --name sg-01
177183

178184

179185
**Options:**
186+
180187
- `--name` – Switch group name.
181188

182189
---
@@ -190,6 +197,7 @@ kubectl fabric external create --name ext-01 --ipv4-namespace default
190197

191198

192199
**Options:**
200+
193201
- `--name` – External name.
194202
- `--ipv4-namespace` – IPv4 namespace.
195203

@@ -204,6 +212,7 @@ kubectl fabric wiring export --vpcs --externals
204212

205213

206214
**Options:**
215+
207216
- `--vpcs` – Include VPCs (default: true).
208217
- `--externals` – Include externals (default: true).
209218

@@ -218,6 +227,7 @@ kubectl fabric inspect fabric --output text
218227

219228

220229
**Options:**
230+
221231
- `--output` – Output format (`text`, `yaml`, `json`).
222232

223233
---

docs/reference/hhfab-cli.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ hhfab init [options]
5454
```
5555

5656
**Options:**
57+
5758
- `--registry-repo` – Download artifacts from specific registry repository.
5859
- `--registry-prefix` – Prepend artifact names with specific prefix.
5960
- `--config` – Use existing config file.
@@ -80,6 +81,7 @@ hhfab validate [options]
8081
```
8182

8283
**Options:**
84+
8385
- `--hydrate-mode` *(default: "if-not-present")* – Set hydrate mode.
8486

8587
---
@@ -93,6 +95,7 @@ hhfab diagram [options]
9395
```
9496

9597
**Options:**
98+
9699
- `--format` *(default: "drawio")* – Diagram format.
97100
- `--style` *(default: "hedgehog")* – Diagram style.
98101

@@ -117,6 +120,7 @@ hhfab build [options]
117120
```
118121

119122
**Options:**
123+
120124
- `--mode` *(default: "iso")* – Build mode (iso, qcow2, raw).
121125

122126
---
@@ -130,6 +134,7 @@ hhfab switch reinstall [options]
130134
```
131135

132136
**Options:**
137+
133138
- `--name` – Switch name.
134139
- `--mode` *(default: "hard-reset")* – Restart mode.
135140
- `--wait-ready` – Wait until switch is ready.

0 commit comments

Comments
 (0)