xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/NetworkInterface.v1_2_3.json (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
1*d125652eSGunnar Mills{
2*d125652eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/NetworkInterface.v1_2_3.json",
3*d125652eSGunnar Mills    "$ref": "#/definitions/NetworkInterface",
4*d125652eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*d125652eSGunnar Mills    "copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*d125652eSGunnar Mills    "definitions": {
7*d125652eSGunnar Mills        "Actions": {
8*d125652eSGunnar Mills            "additionalProperties": false,
9*d125652eSGunnar Mills            "description": "The available actions for this resource.",
10*d125652eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*d125652eSGunnar Mills            "patternProperties": {
12*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*d125652eSGunnar Mills                    "type": [
15*d125652eSGunnar Mills                        "array",
16*d125652eSGunnar Mills                        "boolean",
17*d125652eSGunnar Mills                        "integer",
18*d125652eSGunnar Mills                        "number",
19*d125652eSGunnar Mills                        "null",
20*d125652eSGunnar Mills                        "object",
21*d125652eSGunnar Mills                        "string"
22*d125652eSGunnar Mills                    ]
23*d125652eSGunnar Mills                }
24*d125652eSGunnar Mills            },
25*d125652eSGunnar Mills            "properties": {
26*d125652eSGunnar Mills                "Oem": {
27*d125652eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*d125652eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*d125652eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
30*d125652eSGunnar Mills                    "versionAdded": "v1_1_0"
31*d125652eSGunnar Mills                }
32*d125652eSGunnar Mills            },
33*d125652eSGunnar Mills            "type": "object"
34*d125652eSGunnar Mills        },
35*d125652eSGunnar Mills        "Links": {
36*d125652eSGunnar Mills            "additionalProperties": false,
37*d125652eSGunnar Mills            "description": "The links to other resources that are related to this resource.",
38*d125652eSGunnar Mills            "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.",
39*d125652eSGunnar Mills            "patternProperties": {
40*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
41*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
42*d125652eSGunnar Mills                    "type": [
43*d125652eSGunnar Mills                        "array",
44*d125652eSGunnar Mills                        "boolean",
45*d125652eSGunnar Mills                        "integer",
46*d125652eSGunnar Mills                        "number",
47*d125652eSGunnar Mills                        "null",
48*d125652eSGunnar Mills                        "object",
49*d125652eSGunnar Mills                        "string"
50*d125652eSGunnar Mills                    ]
51*d125652eSGunnar Mills                }
52*d125652eSGunnar Mills            },
53*d125652eSGunnar Mills            "properties": {
54*d125652eSGunnar Mills                "NetworkAdapter": {
55*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/NetworkAdapter.json#/definitions/NetworkAdapter",
56*d125652eSGunnar Mills                    "description": "The link to the network adapter that contains this network interface.",
57*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource of type `NetworkAdapter` that represents the physical container associated with this network interface.",
58*d125652eSGunnar Mills                    "readonly": true
59*d125652eSGunnar Mills                },
60*d125652eSGunnar Mills                "Oem": {
61*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
62*d125652eSGunnar Mills                    "description": "The OEM extension property.",
63*d125652eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
64*d125652eSGunnar Mills                }
65*d125652eSGunnar Mills            },
66*d125652eSGunnar Mills            "type": "object"
67*d125652eSGunnar Mills        },
68*d125652eSGunnar Mills        "NetworkInterface": {
69*d125652eSGunnar Mills            "additionalProperties": false,
70*d125652eSGunnar Mills            "description": "The `NetworkInterface` schema describes links to the network adapters, network ports, and network device functions, and represents the functionality available to the containing system.",
71*d125652eSGunnar Mills            "longDescription": "This resource contains links to the network adapters, network ports, and network device functions, and represents the functionality available to the containing system.",
72*d125652eSGunnar Mills            "patternProperties": {
73*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
74*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
75*d125652eSGunnar Mills                    "type": [
76*d125652eSGunnar Mills                        "array",
77*d125652eSGunnar Mills                        "boolean",
78*d125652eSGunnar Mills                        "integer",
79*d125652eSGunnar Mills                        "number",
80*d125652eSGunnar Mills                        "null",
81*d125652eSGunnar Mills                        "object",
82*d125652eSGunnar Mills                        "string"
83*d125652eSGunnar Mills                    ]
84*d125652eSGunnar Mills                }
85*d125652eSGunnar Mills            },
86*d125652eSGunnar Mills            "properties": {
87*d125652eSGunnar Mills                "@odata.context": {
88*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
89*d125652eSGunnar Mills                },
90*d125652eSGunnar Mills                "@odata.etag": {
91*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
92*d125652eSGunnar Mills                },
93*d125652eSGunnar Mills                "@odata.id": {
94*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
95*d125652eSGunnar Mills                },
96*d125652eSGunnar Mills                "@odata.type": {
97*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
98*d125652eSGunnar Mills                },
99*d125652eSGunnar Mills                "Actions": {
100*d125652eSGunnar Mills                    "$ref": "#/definitions/Actions",
101*d125652eSGunnar Mills                    "description": "The available actions for this resource.",
102*d125652eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource.",
103*d125652eSGunnar Mills                    "versionAdded": "v1_1_0"
104*d125652eSGunnar Mills                },
105*d125652eSGunnar Mills                "Description": {
106*d125652eSGunnar Mills                    "anyOf": [
107*d125652eSGunnar Mills                        {
108*d125652eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
109*d125652eSGunnar Mills                        },
110*d125652eSGunnar Mills                        {
111*d125652eSGunnar Mills                            "type": "null"
112*d125652eSGunnar Mills                        }
113*d125652eSGunnar Mills                    ],
114*d125652eSGunnar Mills                    "readonly": true
115*d125652eSGunnar Mills                },
116*d125652eSGunnar Mills                "Id": {
117*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
118*d125652eSGunnar Mills                    "readonly": true
119*d125652eSGunnar Mills                },
120*d125652eSGunnar Mills                "Links": {
121*d125652eSGunnar Mills                    "$ref": "#/definitions/Links",
122*d125652eSGunnar Mills                    "description": "The links to other resources that are related to this resource.",
123*d125652eSGunnar Mills                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."
124*d125652eSGunnar Mills                },
125*d125652eSGunnar Mills                "Name": {
126*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
127*d125652eSGunnar Mills                    "readonly": true
128*d125652eSGunnar Mills                },
129*d125652eSGunnar Mills                "NetworkDeviceFunctions": {
130*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/NetworkDeviceFunctionCollection.json#/definitions/NetworkDeviceFunctionCollection",
131*d125652eSGunnar Mills                    "description": "The link to the network device functions associated with this network interface.  This does not include Ethernet network device functions.",
132*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `NetworkDeviceFunctionCollection`.  The members of this collection shall not contain `NetworkDeviceFunction` resources whose `NetDevFuncType` property contains `Ethernet`.",
133*d125652eSGunnar Mills                    "readonly": true
134*d125652eSGunnar Mills                },
135*d125652eSGunnar Mills                "NetworkPorts": {
136*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/NetworkPortCollection.json#/definitions/NetworkPortCollection",
137*d125652eSGunnar Mills                    "deprecated": "This property has been deprecated in favor of the `Ports` property.",
138*d125652eSGunnar Mills                    "description": "The link to the network ports associated with this network interface.",
139*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `NetworkPortCollection`.",
140*d125652eSGunnar Mills                    "readonly": true,
141*d125652eSGunnar Mills                    "versionDeprecated": "v1_2_0"
142*d125652eSGunnar Mills                },
143*d125652eSGunnar Mills                "Oem": {
144*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
145*d125652eSGunnar Mills                    "description": "The OEM extension property.",
146*d125652eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
147*d125652eSGunnar Mills                },
148*d125652eSGunnar Mills                "Ports": {
149*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PortCollection.json#/definitions/PortCollection",
150*d125652eSGunnar Mills                    "description": "The link to the ports associated with this network interface.",
151*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `PortCollection`.",
152*d125652eSGunnar Mills                    "readonly": true,
153*d125652eSGunnar Mills                    "versionAdded": "v1_2_0"
154*d125652eSGunnar Mills                },
155*d125652eSGunnar Mills                "Status": {
156*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
157*d125652eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
158*d125652eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
159*d125652eSGunnar Mills                }
160*d125652eSGunnar Mills            },
161*d125652eSGunnar Mills            "required": [
162*d125652eSGunnar Mills                "@odata.id",
163*d125652eSGunnar Mills                "@odata.type",
164*d125652eSGunnar Mills                "Id",
165*d125652eSGunnar Mills                "Name"
166*d125652eSGunnar Mills            ],
167*d125652eSGunnar Mills            "type": "object"
168*d125652eSGunnar Mills        },
169*d125652eSGunnar Mills        "OemActions": {
170*d125652eSGunnar Mills            "additionalProperties": true,
171*d125652eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
172*d125652eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
173*d125652eSGunnar Mills            "patternProperties": {
174*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
175*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
176*d125652eSGunnar Mills                    "type": [
177*d125652eSGunnar Mills                        "array",
178*d125652eSGunnar Mills                        "boolean",
179*d125652eSGunnar Mills                        "integer",
180*d125652eSGunnar Mills                        "number",
181*d125652eSGunnar Mills                        "null",
182*d125652eSGunnar Mills                        "object",
183*d125652eSGunnar Mills                        "string"
184*d125652eSGunnar Mills                    ]
185*d125652eSGunnar Mills                }
186*d125652eSGunnar Mills            },
187*d125652eSGunnar Mills            "properties": {},
188*d125652eSGunnar Mills            "type": "object"
189*d125652eSGunnar Mills        }
190*d125652eSGunnar Mills    },
191*d125652eSGunnar Mills    "language": "en",
192*d125652eSGunnar Mills    "owningEntity": "DMTF",
193*d125652eSGunnar Mills    "release": "2020.3",
194*d125652eSGunnar Mills    "title": "#NetworkInterface.v1_2_3.NetworkInterface"
195*d125652eSGunnar Mills}