From owner-freebsd-net@freebsd.org Mon Apr 4 22:39:42 2016 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 B4E88B032FA for ; Mon, 4 Apr 2016 22:39:42 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9382B1CF9 for ; Mon, 4 Apr 2016 22:39:42 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 7D82B5A9F13; Mon, 4 Apr 2016 22:39:41 +0000 (UTC) Date: Mon, 4 Apr 2016 22:39:41 +0000 From: Brooks Davis To: Matt Churchyard Cc: "freebsd-net@freebsd.org" Subject: Re: Vale port naming Message-ID: <20160404223941.GB25187@spindle.one-eyed-alien.net> References: <20160404223748.GA25187@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline In-Reply-To: <20160404223748.GA25187@spindle.one-eyed-alien.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2016 22:39:42 -0000 --E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 04, 2016 at 10:37:48PM +0000, Brooks Davis wrote: > On Mon, Apr 04, 2016 at 11:29:31AM +0000, Matt Churchyard via freebsd-net= wrote: > > From the little information I can find on the net it seems that valeX:Y= is the format for a port on a vale switch. > > Some examples use vale0:1, others use a letter such as valeA:0. The onl= y details I can find is a vague reference to a 15/16? character limit, alth= ough I don't know whether that applies to just the first part of the whole = thing. > >=20 > > Can anyone clarify the valid format for a vale switch/port? > > Is there any length or character restriction on X & Y? >=20 > According to the vale.4 manpage: >=20 > vale ports are named vale[bdg:][port] where vale is the prefix > indicating a VALE switch rather than a standard interface, bdg > indicates a specific switch (the colon is a separator), and port > indicates a port within the switch. Bridge and port names are > arbitrary strings, the only constraint being that the full name > must fit within 16 characters. >=20 > The manpage is confusing in that the name must be 15 characters plus the > NUL character. Given the other limits, it looks like bdg can be up to 8 > characters in practice. Having hit send, I've noticed I'm wrong here. :) In fact, you have 10 characters to split betwen bdg and port. -- Brooks --E39vaYmALEf/7YXx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXAu0pAAoJEKzQXbSebgfAvqcIAJNK6YxKgBZm4fdkNN1Cwpdw 6u4BluALEXxX5Fe+plsSgQuudnU6ebzQKRuveFMPZfbQR24unZmAY5/8l7OJWsEH d5OQupiFRdjOztljfPjB1u59j3B1sWlBh+AGIGBJIUM4k3FO2+4BmB09KPg21usq k2iYLR6s4rTE+tFLx8Y3zFh/jTkzcSoppiUSAwlUkX8IW56r+yWnBh/fX/r7tWBx Wemtv6u8pf2MPyKXrSETQDsYwWow2RB28/Dsb4ibjQ8TNW9G57NzJSbBdKvHjN3A u25g1dVbyXmifTaz0AOf6MQOCAwC3u1oa+P+VHGz7V8uJtt3oInT55gkBRCPBXI= =c83C -----END PGP SIGNATURE----- --E39vaYmALEf/7YXx--