From owner-freebsd-net@freebsd.org Tue Jul 28 18:00:04 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 480709ACD8B for ; Tue, 28 Jul 2015 18:00:04 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0830994 for ; Tue, 28 Jul 2015 18:00:04 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igbpg9 with SMTP id pg9so147931318igb.0 for ; Tue, 28 Jul 2015 11:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CaecFKX7LIdSz80X84DK3lqDbeQ0HmIfJlgbwU+ajRc=; b=POS/FdDlsW4/vYbT4IVjjbp/285q4ohE+4We+i9SY2ZO9HU4QHUq8x9cH4rfJQWSFR bcbXp76rB1TOOO9hgDfNeNiJfseEBkKBZkCrgaSevFXcK/CXqaXY6CCfaRua3MnwqvCu jjvPUmv+YKj0leD+FkcNb8ToNO56kni8OI37c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=CaecFKX7LIdSz80X84DK3lqDbeQ0HmIfJlgbwU+ajRc=; b=JfM81q7sm3DLmAvmDELa4mRxeYMS8SHDerpZkc+ilBaUwn/TOedXX8+gC7MzCM0co6 A6VHQ2gXax/uEZV8HIiPzNjNSu4W4h15kUsU5nr6PMWeT7DJFj0w1IEJoL0N5AGvtf+G Y7rxb+4DOlkRWo0BqBod9Kx6xQRsm0JxghOmHIFiIWMXf2ZWIZZypdnFoSUvyoCxupA6 kIV8YyGzZSnPZeqxQm+xSArCX6D76OjQ0ouc6X3JlK48Hn+fCyK1Jf5NCWERx3FrAazj sxF/hkk8bxX1bCwpOktPxYYD5J2lv7kMfDVm+UggKT3GhtCu/FIN1lZcZRx46lSGS/1g SsFA== X-Gm-Message-State: ALoCoQme0E3soaGIVF9VG4t/ypipjgBDXI+OUX+oVGJEEJvyPnUjsaC00AbyYMjx9pL5fNKr9HlX X-Received: by 10.107.37.134 with SMTP id l128mr61169624iol.92.1438106403328; Tue, 28 Jul 2015 11:00:03 -0700 (PDT) Received: from [192.168.8.21] ([66.195.151.70]) by smtp.gmail.com with ESMTPSA id y6sm9061902igl.17.2015.07.28.11.00.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 11:00:02 -0700 (PDT) Subject: Re: [RFC] ifconfig description Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: text/plain; charset="utf8"; X-Pgp-Agent: GPGMail 2.5 From: Jason Hellenthal In-Reply-To: <674101438106130@web26h.yandex.ru> Date: Tue, 28 Jul 2015 13:00:01 -0500 Cc: Arseny Nasokin , pluknet@freebsd.org, FreeBSD Net , Freddie Cash Content-Transfer-Encoding: 8bit Message-Id: <2302D713-B330-42AA-B3CC-57EC7647990D@dataix.net> References: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> <674101438106130@web26h.yandex.ru> To: "Alexander V. Chernikov" X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 18:00:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I would even be satisfied with a ifconfig_${IF}_descr= shorter version of it or both. Thanks guys. On Jul 28, 2015, at 12:55, Alexander V. Chernikov wrote: 28.07.2015, 15:32, "Arseny Nasokin" : Separate ifconfig_IF_description will be simpler to use. I was also insisting on this.. +pluknet@ Sergey, maybe we could reconsider this stuff and add separate _description field? - -- Eir Nym On 27 July 2015 at 22:19, Jason Hellenthal wrote: Yeah thats pretty much what I’m doing right now. Attempting to match up some interfaces and throw a valuable description on each interface. With vlan interfaces I have not been successful at anything but manual configuration thus far. On Jul 27, 2015, at 14:02, Freddie Cash wrote: On Mon, Jul 27, 2015 at 11:56 AM, Jason Hellenthal wrote: - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Matter of fact … could someone commit this ? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156675 No clue why it was closed for something that is so simple to do. ​It was already merged (R​223858). Looking at /etc/network.subr on a 10.0-RELEASE system shows the eval line. So, it looks like one can just add " description something cool to describe interface" to ​the end of the ifconfig_IF= line. Not as neat and organised as having a separate ifconfig_IF_description variable to set, but still very much workable. Thanks for the pointer in the right direction. Now to play with it at work. :) - -- Freddie Cash fjwcash@gmail.com - -- Jason Hellenthal JJH48-ARIN - -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVtoRDAAoJEDLu+wRc4KcIZ98H/i4+B4jiyNzP9yRevwMUgg6t QH+5fwhyfAFMOwuKmtLuFhdF5yx7KjII0/I8CWhy0SrYa83vHG83kW2TRD6q8iwy fpl4HJC07ttD+mY/CtOfIhY6gh8aG/eIK7r73ctHJdPbcnIHH+qMLgrGKAA26Zmc ZKBMHu12KSbmU6B4kv4b4diKptNgFCxeF3BhHxE7edJlSyP8h1N2AFcw89TrnYb+ HhKoSbj+Qz+D4IjtNt6HXrgTUkEeoDj32QVSOWkNnCIne5/uzkgK37+DA5RnaqoB 0b4OnO6VKL6kuKjKtkjjMJw8VMK8YmphEbwEUboftmjQhb3dWjW20cdQ+DdH5zA= =Opeb -----END PGP SIGNATURE----- _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" - -- Jason Hellenthal JJH48-ARIN -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVt8MhAAoJEDLu+wRc4KcImcYH/jJb9yh7fzbiteWVArjTS4NI oKHdunrebwTXRWrfl33/s02osbpMsBRiGfPYqUpEQcHskhFMjflffOyhyn6tlm43 VXX9gyGGUEji9YynYmHv1SZu7zpwCiGsZqBwLHa1eEIsWDmpvY5yoDPmth/Jv3iH jt22XZy0t0k6+g+0+ZKKpcQoPpYdeWPitoEnVFwMJczRlIq/CjKA7OKK+kBMmezx 5LblB5uYUmBFyIO1/3CYexU4/F3kYbf+0UR359VHkxA0aoC+z4z2yfs7Z4eb8rzu ZfeXDMFaRjv7ACTeCB8WPO+a5gC/ID+O+VgcPOczbzJ3XsBteUAnCRlc6ZISnlI= =iobo -----END PGP SIGNATURE-----