HomeDevCentral

Reduce the length of GRE interface name

Description

Reduce the length of GRE interface name

Summary:
The define IFNAMSIZ in Linux kernel defines the maximum length of an interface
name. By default, 16 characters, including the final '\0'.

As such, names like gre-drake_via_router-001 are too long.

gre-drake seems to be descriptive enough, as a node has only one GRE tunnel
if it's not our router.

Reference: include/uapi/linux/if.h

Ref T1832

Test Plan: Deploy on cloudhugger, ifconfig gre-drake

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1832

Differential Revision: https://devcentral.nasqueron.org/D3005

Details

Provenance
derecksonAuthored on Apr 12 2023, 23:26
derecksonPushed on Apr 12 2023, 23:35
Reviewer
dereckson
Differential Revision
D3005: Reduce the length of GRE interface name
Parents
rOPS4d08af81970d: Resolve private network interface
Branches
Unknown
Tags
Unknown
Reverted By
rOPS690b374144d7: Restore GRE tunnels rc names
D3063: Restore GRE tunnels rc names
Tasks
T1832: Fix core role for Debian nodes