Bug #19991

Interface responds to `network` but not to `network6`

Added by Jo Vandeginste 7 months ago. Updated 7 months ago.

Status:Closed
Priority:Low
Assigned To:-
Category:Network
Target version:-
Difficulty:trivial Bugzilla link:
Found in release:nightly Pull request:https://github.com/theforeman/foreman/pull/4582
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

Description

The Nic class has a method network which is delegated to subnet, but no method network6 (which should be fetched from subnet6. This is no breaking bug, but rather inconsistent.

Associated revisions

Revision dd4c1274
Added by Jo Vandeginste 7 months ago

Fixes #19991 - Add network6 to nic model

This adds the method `network6`, delegated to the `subnet6` relation.
Because the `delegate` methods does not support completely renaming a
method, I use a combination of delegate and alias. I updated the
definition for `network` (the v4 equivalent) to be consistent.

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4582 added

#2 Updated by Jo Vandeginste 7 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Marek Hulán 7 months ago

  • Release set to 1.16.0

Also available in: Atom PDF