Revert "interfaces: fallback here to prevent php warnings"
This reverts commit cda3b2f717fce26add61c147d1da0b0a0812c3eb.
these are stored by default now after save
Fix interface.nic_attach_users crash when VMs or containers exist
## Problem
`nic_attach_users`, added in 4fb2e51a1b, reads `vm.query` and `container.query` results as dicts. Both are typesafe services on master, so internal calls return Pydantic models and subscripting them raised a `TypeError`. As soon as any VM or container existed, `interface.bridge_members_choices` failed, and so did creating or updating a bridge with `bridge_members`.
## Solution
Read the typed `VMEntry` / `ContainerEntry` devices and match `VMNICDevice` / `ContainerNICDevice` attributes instead of subscripting dicts.
`nic_attach_users` only needs persisted NIC config, but both query methods always gathered runtime `status` from libvirt (which can even start libvirtd). Status is now optional: it is skipped when `query-options.extra.retrieve_status` is false (status is then `null`) or when `select` does not include `status`. The default is unchanged, so existing callers, events and the UI still get status.
The value is stored in `status_or_null` (aliased to `status`, so the API schema and payloads are unchanged), and a `status` property returns it non-optional, raising `CallError` if it was not retrieved. That keeps existing consumers reading `.status` untouched. The update paths exclude `status_or_null` when dumping, since pydantic `exclude` matches field names rather than aliases.
interfaces: fallback here to prevent php warnings
PHP Warning: Undefined array key "localip" in /usr/local/etc/inc/interfaces.inc on line 1192
PHP Warning: Undefined array key "gateway" in /usr/local/etc/inc/interfaces.inc on line 1196
[libc++][NFC] Fix include guards in __concepts/ (#229398)
Rename the include guards in `__concepts/primary_template.h` and
`__concepts/referenceable.h` to match their file paths, like the other
headers in `__concepts/`.
Both headers were moved from `__type_traits/` (in #197646 and #199821
respectively) but kept their old guards,
`_LIBCPP___TYPE_TRAITS_IS_PRIMARY_TEMPLATE_H` and
`_LIBCPP___TYPE_TRAITS_IS_REFERENCEABLE_H`.
Fixes #229284
Targets: Remove redundant TRI arguments from InstrInfo helpers
This is directly available in TargetInstrInfo.
Co-authored-by: Claude Opus 5 <noreply at anthropic.com>