Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2022 09:02:40 -0400
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Erik N <erik@nstr.no>
Cc:        freebsd-virtualization@freebsd.org
Subject:   =?UTF-8?Q?Re=3A_Anyone_have_a_copy_of_the_work_that_Joyent_did_o?= =?UTF-8?Q?n_FreeBSD_=E2=80=9CVPC=E2=80=9D_software_defined_networking=3F?=
Message-ID:  <CACM2dAaMJfuUoShmRCBD_HeB%2B3v0NDYNXSaEzK%2BL69RBKg2bfQ@mail.gmail.com>
In-Reply-To: <117D2715-7471-449A-988E-BE8A526D983B@nstr.no>
References:  <117D2715-7471-449A-988E-BE8A526D983B@nstr.no>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005dccf805dcd944e3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I may be able to get ahold of Brian Cantrill.  He's likely the best PoC too=
.

On Sun, Apr 17, 2022 at 2:49 AM Erik N <erik@nstr.no> wrote:

> I was watching this presentation from BSDCan 2018, by Sean Chittenden,
> titled =E2=80=9CIntroducing FreeBSD VPC=E2=80=9D.
>
> The video recording of said presentation is at
> https://youtu.be/La4ekkKbM5o and slides are at
> https://papers.freebsd.org/2018/chittenden-freebsd_vpc.files/chittenden-f=
reebsd_vpc-slides.pdf
>
> The presentation details enhancements to FreeBSD, to allow efficient
> private networking between bhyve guests as well as jails on overlay
> networks, running across separate FreeBSD hosts. This, according to the
> presentation, comes in the form of a suite of VXLAN-related network
> interfaces.
>
> From two of the slides:
>
> vpc(4) Interfaces
> vpcsw(4) - switches packets - one packet per customer, multiple subnets
> supported in the same switch
> vmnic(4) - dedicated guest NIC, looks like a virtio network device to
> guests
> vpcp(4) - plugs vmnic(4) ports into vpcsw(4) switches vpci(4) -
> Non-bhyve(4) interface, usable in jails(2)
> ethlink(4) - Performs unencapsulated packet forwarding, wraps a cloned or
> physical ethernet interface
> vpclink(4) - Performs VXLAN encapsulation
>
> New System Calls
> vpc_open(2) - Creates a new VPC descriptor vpc_ctl(2) - Manipulates VPC
> descriptors Capsicum-like, intended for privilege separation Intended for
> idempotent tooling
> Makes aggressive use of UUIDs as operator handles to be compatible with
> Triton
>
> At the very end of the presentation slides are links to for kernel code
> and kernel library code on GitHub:
>
> https://github.com/joyent/freebsd/tree/projects/VPC
>
>
> https://github.com/joyent/freebsd/tree/projects/VPC/libexec/go/src/go.fre=
ebsd.org/sys/vpc
>
> Unfortunately, the whole repository on GitHub is gone. 404. And I couldn=
=E2=80=99t
> find any forks of it either.
>
> Does anyone have a copy of the VPC branch that Joyent had in that
> repository?
>
> All that seems to be left of the project on Joyent's GitHub is a separate=
,
> archived repository https://github.com/joyent/freebsd-vpc that only has
> code for a utility that would interact with the code from the
> aforementioned now gone repository.
>
> Erik N.
>


--=20
Philip M. Gollucci
IT Executive and Engineering Leader
http://www.linkedin.com/in/pgollucci/
301.818.0719

TRULY HUMAN NOTICE:  Getting this email out of normal working hours? We
work at a digitally-enabled relentless pace, which can disrupt our ability
to sleep enough, eat right, exercise, and spend time with the people that
matter most. I am sending you this email at a time that works for me. I
only expect you to respond to it when convenient to you.

--0000000000005dccf805dcd944e3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:comic sa=
ns ms,sans-serif">I may be able to get ahold of Brian Cantrill.=C2=A0 He&#3=
9;s likely the best PoC too.</div></div><br><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Sun, Apr 17, 2022 at 2:49 AM Erik N &l=
t;<a href=3D"mailto:erik@nstr.no">erik@nstr.no</a>&gt; wrote:<br></div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"auto">I was watch=
ing this presentation from BSDCan 2018, by Sean Chittenden, titled =E2=80=
=9CIntroducing FreeBSD VPC=E2=80=9D.<div><br></div><div>The video recording=
 of said presentation is at=C2=A0<a href=3D"https://youtu.be/La4ekkKbM5o" t=
arget=3D"_blank">https://youtu.be/La4ekkKbM5o</a>=C2=A0and slides are at=C2=
=A0<a href=3D"https://papers.freebsd.org/2018/chittenden-freebsd_vpc.files/=
chittenden-freebsd_vpc-slides.pdf" target=3D"_blank">https://papers.freebsd=
.org/2018/chittenden-freebsd_vpc.files/chittenden-freebsd_vpc-slides.pdf</a=
></div><div><br></div><div>The presentation details enhancements to FreeBSD=
, to allow efficient private networking between bhyve guests as well as jai=
ls on overlay networks, running across separate FreeBSD hosts. This, accord=
ing to the presentation, comes in the form of a suite of VXLAN-related netw=
ork interfaces.</div><div><br></div><div>From two of the slides:</div><div>=
<br></div><div><div>vpc(4) Interfaces</div><div>vpcsw(4) - switches packets=
 - one packet per customer, multiple subnets supported in the same switch</=
div><div>vmnic(4) - dedicated guest NIC, looks like a virtio network device=
 to guests</div><div>vpcp(4) - plugs vmnic(4) ports into vpcsw(4) switches =
vpci(4) - Non-bhyve(4) interface, usable in jails(2)</div><div>ethlink(4) -=
 Performs unencapsulated packet forwarding, wraps a cloned or physical ethe=
rnet interface</div><div>vpclink(4) - Performs VXLAN encapsulation</div></d=
iv><div><br></div><div><div>New System Calls</div><div>vpc_open(2) - Create=
s a new VPC descriptor vpc_ctl(2) - Manipulates VPC descriptors Capsicum-li=
ke, intended for privilege separation Intended for idempotent tooling</div>=
<div>Makes aggressive use of UUIDs as operator handles to be compatible wit=
h Triton</div></div><div><br></div><div>At the very end of the presentation=
 slides are links to for kernel code and kernel library code on GitHub:</di=
v><div><br></div><div><div><a href=3D"https://github.com/joyent/freebsd/tre=
e/projects/VPC" target=3D"_blank">https://github.com/joyent/freebsd/tree/pr=
ojects/VPC</a></div><div><br></div><div><a href=3D"https://github.com/joyen=
t/freebsd/tree/projects/VPC/libexec/go/src/go.freebsd.org/sys/vpc" target=
=3D"_blank">https://github.com/joyent/freebsd/tree/projects/VPC/libexec/go/=
src/go.freebsd.org/sys/vpc</a></div></div><div><br></div><div>Unfortunately=
, the whole repository on GitHub is gone. 404. And I couldn=E2=80=99t find =
any forks of it either.</div><div><br></div><div>Does anyone have a copy of=
 the VPC branch that Joyent had in that repository?</div><div><br></div><di=
v>All that seems to be left of the project on Joyent&#39;s GitHub is a sepa=
rate, archived repository=C2=A0<a href=3D"https://github.com/joyent/freebsd=
-vpc" target=3D"_blank">https://github.com/joyent/freebsd-vpc</a>=C2=A0that=
 only has code for a utility that would interact with the code from the afo=
rementioned now gone repository.</div><div><br><div dir=3D"ltr">Erik N.</di=
v></div></div></blockquote></div><br clear=3D"all"><div><br></div>-- <br><d=
iv dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"=
ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div><font face=3D"verdana, sans-ser=
if">Philip M. Gollucci</font></div><div><font face=3D"verdana, sans-serif">=
IT Executive and Engineering Leader<br></font></div><div><span style=3D"col=
or:rgb(0,0,0)"><font face=3D"verdana, sans-serif"><a href=3D"http://www.lin=
kedin.com/in/pgollucci/" target=3D"_blank">http://www.linkedin.com/in/pgoll=
ucci/</a></font></span></div><div><span style=3D"color:rgb(0,0,0)">301.818.=
0719</span></div><div><span style=3D"color:rgb(0,0,0)"><br></span></div><di=
v><span style=3D"color:rgba(0,0,0,0.6);font-family:-apple-system,system-ui,=
system-ui,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,&quot;Fira=
 Sans&quot;,Ubuntu,Oxygen,&quot;Oxygen Sans&quot;,Cantarell,&quot;Droid San=
s&quot;,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Sego=
e UI Symbol&quot;,&quot;Lucida Grande&quot;,Helvetica,Arial,sans-serif;font=
-size:14px">TRULY HUMAN NOTICE:=C2=A0=C2=A0Getting this email out of normal=
 working hours? We work at a digitally-enabled relentless pace, which can d=
isrupt our ability to sleep enough, eat right, exercise, and spend time wit=
h the people that matter most. I am sending you this email at a time that w=
orks for me. I only expect you to respond to it when convenient to you.</sp=
an><span style=3D"color:rgb(0,0,0)"><br></span></div><div><br></div></div><=
/div></div></div></div></div>

--0000000000005dccf805dcd944e3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACM2dAaMJfuUoShmRCBD_HeB%2B3v0NDYNXSaEzK%2BL69RBKg2bfQ>