Skip to content

Add Apple iPhone device types (iPhone X through 17, SE, Air, e)#4282

Open
vince6e74 wants to merge 1 commit into
netbox-community:masterfrom
vince6e74:add-apple-iphone-device-types
Open

Add Apple iPhone device types (iPhone X through 17, SE, Air, e)#4282
vince6e74 wants to merge 1 commit into
netbox-community:masterfrom
vince6e74:add-apple-iphone-device-types

Conversation

@vince6e74

Copy link
Copy Markdown

Adds 36 device-type definitions for Apple iPhones, from iPhone X up to the iPhone 17 line, including all Pro / Pro Max / Plus / mini variants as well as iPhone SE (1st–3rd generation), iPhone Air, and the 16e / 17e models.

Copilot AI review requested due to automatic review settings June 16, 2026 16:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds multiple Apple iPhone device-type definitions as YAML resources, including basic physical attributes and common connectivity/power ports.

Changes:

  • Added device type YAMLs for a range of iPhone models (X/XS/XR through 16 series and additional newer entries).
  • Defined weights, power ports (Lightning/USB-C), and network interfaces (Cellular/Wi‑Fi/Bluetooth) for each device type.

Reviewed changes

Copilot reviewed 36 out of 36 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
device-types/Apple/iphone-x.yaml Adds iPhone X device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-xs.yaml Adds iPhone XS device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-xs-max.yaml Adds iPhone XS Max device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-xr.yaml Adds iPhone XR device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-11.yaml Adds iPhone 11 device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-11-pro.yaml Adds iPhone 11 Pro device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-11-pro-max.yaml Adds iPhone 11 Pro Max device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-12.yaml Adds iPhone 12 device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-12-mini.yaml Adds iPhone 12 mini device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-12-pro.yaml Adds iPhone 12 Pro device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-12-pro-max.yaml Adds iPhone 12 Pro Max device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-13.yaml Adds iPhone 13 device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-13-mini.yaml Adds iPhone 13 mini device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-13-pro.yaml Adds iPhone 13 Pro device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-13-pro-max.yaml Adds iPhone 13 Pro Max device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-14.yaml Adds iPhone 14 device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-14-plus.yaml Adds iPhone 14 Plus device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-14-pro.yaml Adds iPhone 14 Pro device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-14-pro-max.yaml Adds iPhone 14 Pro Max device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-15.yaml Adds iPhone 15 device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-15-plus.yaml Adds iPhone 15 Plus device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-15-pro.yaml Adds iPhone 15 Pro device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-15-pro-max.yaml Adds iPhone 15 Pro Max device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-16.yaml Adds iPhone 16 device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-16-plus.yaml Adds iPhone 16 Plus device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-16-pro.yaml Adds iPhone 16 Pro device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-16-pro-max.yaml Adds iPhone 16 Pro Max device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-16e.yaml Adds iPhone 16e device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-17.yaml Adds iPhone 17 device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-17-pro.yaml Adds iPhone 17 Pro device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-17-pro-max.yaml Adds iPhone 17 Pro Max device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-17e.yaml Adds iPhone 17e device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-air.yaml Adds iPhone Air device-type definition (weight, USB‑C, interfaces).
device-types/Apple/iphone-se-1st-generation.yaml Adds iPhone SE (1st gen) device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-se-2nd-generation.yaml Adds iPhone SE (2nd gen) device-type definition (weight, Lightning, interfaces).
device-types/Apple/iphone-se-3rd-generation.yaml Adds iPhone SE (3rd gen) device-type definition (weight, Lightning, interfaces).
Comments suppressed due to low confidence (1)

device-types/Apple/iphone-x.yaml:1

  • Using type: other for the Lightning power port is less descriptive than the USB‑C entries (type: usb-c) and makes downstream filtering/reporting harder. If the schema supports a more specific type (or a structured field like description/label), prefer that; otherwise, consider adding a short note in comments indicating the physical connector for consistency across all Lightning-based iPhone definitions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +16 to +22
interfaces:
- name: Cellular
type: 5g
- name: Wi-Fi
type: ieee802.11be
- name: Bluetooth
type: ieee802.15.1
@harryajc

Copy link
Copy Markdown
Collaborator

@vince6e74 As per #2351 I don't think iPhones really fit in this repo

@vince6e74

Copy link
Copy Markdown
Author

@harryajc I’ve included iPhones because they’re managed via MDM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants