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-44417
  • Loading branch information
jamacku committed Jan 8, 2025
1 parent fadb754 commit 5021cbc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions man/systemd.net-naming-scheme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,15 @@
<xi:include href="version-info.xml" xpointer="rhel-9.5"/>
</listitem>
</varlistentry>

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

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

<xi:include href="version-info.xml" xpointer="rhel-9.6"/>
</listitem>
</varlistentry>
</variablelist>
</refsect2>

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 @@ -42,6 +42,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 },
{ "rhel-10.0-beta", NAMING_RHEL_10_0_BETA },
{ "rhel-10.0", NAMING_RHEL_10_0 },
/* … add more schemes here, as the logic to name devices is updated … */
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 @@ -84,6 +84,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,

NAMING_RHEL_10_0_BETA = NAMING_V255,
NAMING_RHEL_10_0 = NAMING_V257,
Expand Down

0 comments on commit 5021cbc

Please sign in to comment.