Skip to content

Commit

Permalink
udev/net_id: introduce naming scheme for RHEL-9.6
Browse files Browse the repository at this point in the history
rhel-only: policy

Resolves: RHEL-25515
  • Loading branch information
jamacku committed Jan 3, 2025
1 parent bb607f5 commit 48351f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions man/systemd.net-naming-scheme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,12 @@
</listitem>
</varlistentry>

<varlistentry>
<term><constant>rhel-9.6</constant></term>

<listitem><para>Same as naming scheme <constant>rhel-9.5</constant>.</para></listitem>
</varlistentry>

</variablelist>

<para>By default <constant>rhel-9.0</constant> is used.</para>
Expand Down
1 change: 1 addition & 0 deletions src/shared/netif-naming-scheme.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static const NamingScheme naming_schemes[] = {
{ "rhel-9.3", NAMING_RHEL_9_3 },
{ "rhel-9.4", NAMING_RHEL_9_4 },
{ "rhel-9.5", NAMING_RHEL_9_5 },
{ "rhel-9.6", NAMING_RHEL_9_6 },
/* … add more schemes here, as the logic to name devices is updated … */

EXTRA_NET_NAMING_MAP
Expand Down
1 change: 1 addition & 0 deletions src/shared/netif-naming-scheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ typedef enum NamingSchemeFlags {
NAMING_RHEL_9_3 = NAMING_RHEL_9_0 | NAMING_SR_IOV_R,
NAMING_RHEL_9_4 = NAMING_RHEL_9_3,
NAMING_RHEL_9_5 = NAMING_RHEL_9_4 & ~NAMING_BRIDGE_MULTIFUNCTION_SLOT,
NAMING_RHEL_9_6 = NAMING_RHEL_9_5,

EXTRA_NET_NAMING_SCHEMES

Expand Down

0 comments on commit 48351f0

Please sign in to comment.