feat(xo-web/New network): don't show PIFs that belong to a bond (#7136)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
- [About] For source users, display if their XO is up to date [#5934](https://github.com/vatesfr/xen-orchestra/issues/5934) (PR [#7091](https://github.com/vatesfr/xen-orchestra/pull/7091))
|
||||
- [Proxy] Ability to open support tunnel on XO Proxy (PRs [#7126](https://github.com/vatesfr/xen-orchestra/pull/7126) [#7127](https://github.com/vatesfr/xen-orchestra/pull/7127))
|
||||
- [XOSTOR] Ability to create a XOSTOR storage (PR [#6983](https://github.com/vatesfr/xen-orchestra/pull/6983))
|
||||
- [New network] Remove bonded PIFs from selector when creating network (PR [#7136](https://github.com/vatesfr/xen-orchestra/pull/7136))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@ const NewNetwork = decorate([
|
||||
pifPredicate:
|
||||
(_, { pool }) =>
|
||||
pif =>
|
||||
!pif.isBondSlave && pif.vlan === -1 && pif.$host === (pool && pool.master),
|
||||
!pif.isBondSlave && !pif.isBondMaster && pif.vlan === -1 && pif.$host === (pool && pool.master),
|
||||
pifPredicateSdnController:
|
||||
(_, { pool }) =>
|
||||
pif =>
|
||||
|
||||
Reference in New Issue
Block a user