# NetBox

Canonical: https://docs.shumoku.dev/ja/server/0.3.0-beta.2/plugins/netbox
Language: ja
Server documentation version: 0.3.0-beta.2
Product version: 0.3.0-beta.2
Channel: beta

このドキュメントはServerのプレリリース版を対象としています。

netbox · 0.3.1

# NetBox

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0-beta.2/libs/plugins/netbox/src/index.ts)

フィールドの説明は英語のcanonical descriptorを表示しています。

## Capability

topology · hosts

## 接続設定

| フィールド | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `url`  
必須 | `string` | **NetBox URL**  
 | `—` |
| `token`  
必須 · Secret | `string` | **API token**  
 | `—` |
| `insecure`  
 | `boolean` | **Skip TLS verification**  
Disables certificate validation. Self-signed certs in trusted networks only. | `false` |

## Topologyオプション

| フィールド | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `groupDepth`  
 | `string` | **Group depth**  
How deep the places nest: sites, locations within them, or down to the rack. site — Site, location — Location, rack — Rack | `location` |
| `siteFilter`  
 | `string[]` | **Sites**  
 | `—` |
| `tagFilter`  
 | `string[]` | **Tags**  
 | `—` |
| `roleFilter`  
 | `string[]` | **Roles**  
 | `—` |
| `excludeRoleFilter`  
 | `string[]` | **Exclude roles**  
 | `—` |
| `excludeTagFilter`  
 | `string[]` | **Exclude tags**  
 | `—` |
| `tenantFilter`  
 | `string[]` | **Tenants**  
Tenant slugs. | `—` |
| `cloudClusterTypes`  
 | `string[]` | **Cloud cluster types**  
Cluster types that are a cloud (such as aws). Each such cluster is drawn as a cloud that hosts its VMs. Nothing is guessed from names. | `—` |
| `roleTypes`  
 | `string[]` | **Role to node type**  
One role-slug=type per line, such as hypervisor=server, for roles the built-in mapping does not know. | `—` |
| `statusFilter`  
 | `string[]` | **Device and VM statuses**  
Statuses that are drawn. Default: active, staged, offline, failed, decommissioning (not planned or inventory). | `—` |
| `circuitStatusFilter`  
 | `string[]` | **Circuit statuses**  
Statuses that are drawn. Default: active, offline, provisioning, deprovisioning. | `—` |
