Red Hat Satellite · Schema
HostInterfaceCreate
Parameters for creating or updating a host network interface.
Configuration ManagementLifecycle ManagementPatch ManagementSubscription ManagementSystems Management
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Interface identifier (for updating existing interfaces). |
| mac | string | MAC address. |
| ip | string | IPv4 address. |
| ip6 | string | IPv6 address. |
| type | string | Interface type. |
| name | string | DNS name. |
| subnet_id | integer | IPv4 subnet identifier. |
| subnet6_id | integer | IPv6 subnet identifier. |
| domain_id | integer | Domain identifier. |
| identifier | string | Device identifier (e.g., eth0). |
| managed | boolean | Whether DNS and DHCP are managed for this interface. |
| primary | boolean | Whether this is the primary interface for FQDN. |
| provision | boolean | Whether this interface is used for provisioning. |
| virtual | boolean | Whether this is a virtual interface (alias or VLAN). |
| tag | string | VLAN tag. |
| mtu | integer | Maximum transmission unit. |
| attached_to | string | Parent interface identifier. |
| username | string | BMC username (BMC interfaces only). |
| password | string | BMC password (BMC interfaces only). |
| provider | string | BMC provider (BMC interfaces only). |
| mode | string | Bond mode (bond interfaces only). |
| attached_devices | array | Slave or bridge member interface identifiers. |
| bond_options | string | Additional bond options (space-separated). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/HostInterfaceCreate",
"title": "HostInterfaceCreate",
"type": "object",
"description": "Parameters for creating or updating a host network interface.",
"properties": {
"id": {
"type": "integer",
"description": "Interface identifier (for updating existing interfaces).",
"example": "abc123"
},
"mac": {
"type": "string",
"description": "MAC address.",
"example": "example_value"
},
"ip": {
"type": "string",
"description": "IPv4 address.",
"format": "ipv4",
"example": "example_value"
},
"ip6": {
"type": "string",
"description": "IPv6 address.",
"format": "ipv6",
"example": "example_value"
},
"type": {
"type": "string",
"description": "Interface type.",
"enum": [
"interface",
"bmc",
"bond",
"bridge"
],
"example": "interface"
},
"name": {
"type": "string",
"description": "DNS name.",
"example": "Example Title"
},
"subnet_id": {
"type": "integer",
"description": "IPv4 subnet identifier.",
"example": "500123"
},
"subnet6_id": {
"type": "integer",
"description": "IPv6 subnet identifier.",
"example": "500123"
},
"domain_id": {
"type": "integer",
"description": "Domain identifier.",
"example": "500123"
},
"identifier": {
"type": "string",
"description": "Device identifier (e.g., eth0).",
"example": "example_value"
},
"managed": {
"type": "boolean",
"description": "Whether DNS and DHCP are managed for this interface.",
"example": true
},
"primary": {
"type": "boolean",
"description": "Whether this is the primary interface for FQDN.",
"example": true
},
"provision": {
"type": "boolean",
"description": "Whether this interface is used for provisioning.",
"example": true
},
"virtual": {
"type": "boolean",
"description": "Whether this is a virtual interface (alias or VLAN).",
"example": true
},
"tag": {
"type": "string",
"description": "VLAN tag.",
"example": "example_value"
},
"mtu": {
"type": "integer",
"description": "Maximum transmission unit.",
"example": 10
},
"attached_to": {
"type": "string",
"description": "Parent interface identifier.",
"example": "example_value"
},
"username": {
"type": "string",
"description": "BMC username (BMC interfaces only).",
"example": "example_value"
},
"password": {
"type": "string",
"description": "BMC password (BMC interfaces only).",
"format": "password",
"example": "example_value"
},
"provider": {
"type": "string",
"description": "BMC provider (BMC interfaces only).",
"enum": [
"IPMI",
"Redfish",
"SSH"
],
"example": "IPMI"
},
"mode": {
"type": "string",
"description": "Bond mode (bond interfaces only).",
"enum": [
"balance-rr",
"active-backup",
"balance-xor",
"broadcast",
"802.3ad",
"balance-tlb",
"balance-alb"
],
"example": "balance-rr"
},
"attached_devices": {
"type": "array",
"description": "Slave or bridge member interface identifiers.",
"items": {
"type": "string"
},
"example": []
},
"bond_options": {
"type": "string",
"description": "Additional bond options (space-separated).",
"example": "example_value"
}
}
}