Date: Sun, 17 Apr 2022 07:58:18 -0700 From: Mark Peek <mp@freebsd.org> To: "Philip M. Gollucci" <pgollucci@p6m7g8.com> Cc: Erik N <erik@nstr.no>, 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: <CAGGgMJfNa12PbfMSomx5RMYbTcHqg7McQhQ4bESw1BSzVk3qTQ@mail.gmail.com> In-Reply-To: <CACM2dAaMJfuUoShmRCBD_HeB%2B3v0NDYNXSaEzK%2BL69RBKg2bfQ@mail.gmail.com> References: <117D2715-7471-449A-988E-BE8A526D983B@nstr.no> <CACM2dAaMJfuUoShmRCBD_HeB%2B3v0NDYNXSaEzK%2BL69RBKg2bfQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000060f07c05dcdae061 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Perhaps this? https://github.com/joyent/freebsd-vpc Mark On Sun, Apr 17, 2022 at 6:03 AM Philip M. Gollucci <pgollucci@p6m7g8.com> wrote: > 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-= freebsd_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 o= r >> 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 fo= r >> 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.fr= eebsd.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. >> > > > -- > 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 abilit= y > 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. > > --00000000000060f07c05dcdae061 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Perhaps this?<br><a href=3D"https://github.com/joyent/free= bsd-vpc">https://github.com/joyent/freebsd-vpc</a><br><div><br></div><div>M= ark</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma= il_attr">On Sun, Apr 17, 2022 at 6:03 AM Philip M. Gollucci <<a href=3D"= mailto:pgollucci@p6m7g8.com">pgollucci@p6m7g8.com</a>> wrote:<br></div><= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div clas= s=3D"gmail_default" style=3D"font-family:"comic sans ms",sans-ser= if">I may be able to get ahold of Brian Cantrill.=C2=A0 He's likely the= best PoC too.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c= lass=3D"gmail_attr">On Sun, Apr 17, 2022 at 2:49 AM Erik N <<a href=3D"m= ailto:erik@nstr.no" target=3D"_blank">erik@nstr.no</a>> wrote:<br></div>= <blockquote 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 w= atching this presentation from BSDCan 2018, by Sean Chittenden, titled =E2= =80=9CIntroducing FreeBSD VPC=E2=80=9D.<div><br></div><div>The video record= ing of said presentation is at=C2=A0<a href=3D"https://youtu.be/La4ekkKbM5o= " target=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.fil= es/chittenden-freebsd_vpc-slides.pdf" target=3D"_blank">https://papers.free= bsd.org/2018/chittenden-freebsd_vpc.files/chittenden-freebsd_vpc-slides.pdf= </a></div><div><br></div><div>The presentation details enhancements to Free= BSD, to allow efficient private networking between bhyve guests as well as = jails on overlay networks, running across separate FreeBSD hosts. This, acc= ording to the presentation, comes in the form of a suite of VXLAN-related n= etwork interfaces.</div><div><br></div><div>From two of the slides:</div><d= iv><br></div><div><div>vpc(4) Interfaces</div><div>vpcsw(4) - switches pack= ets - one packet per customer, multiple subnets supported in the same switc= h</div><div>vmnic(4) - dedicated guest NIC, looks like a virtio network dev= ice to guests</div><div>vpcp(4) - plugs vmnic(4) ports into vpcsw(4) switch= es vpci(4) - Non-bhyve(4) interface, usable in jails(2)</div><div>ethlink(4= ) - Performs unencapsulated packet forwarding, wraps a cloned or physical e= thernet interface</div><div>vpclink(4) - Performs VXLAN encapsulation</div>= </div><div><br></div><div><div>New System Calls</div><div>vpc_open(2) - Cre= ates a new VPC descriptor vpc_ctl(2) - Manipulates VPC descriptors Capsicum= -like, intended for privilege separation Intended for idempotent tooling</d= iv><div>Makes aggressive use of UUIDs as operator handles to be compatible = with Triton</div></div><div><br></div><div>At the very end of the presentat= ion slides are links to for kernel code and kernel library code on GitHub:<= /div><div><br></div><div><div><a href=3D"https://github.com/joyent/freebsd/= tree/projects/VPC" target=3D"_blank">https://github.com/joyent/freebsd/tree= /projects/VPC</a></div><div><br></div><div><a href=3D"https://github.com/jo= yent/freebsd/tree/projects/VPC/libexec/go/src/go.freebsd.org/sys/vpc" targe= t=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>Unfortunatel= y, 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 o= f the VPC branch that Joyent had in that repository?</div><div><br></div><d= iv>All that seems to be left of the project on Joyent's GitHub is a sep= arate, archived repository=C2=A0<a href=3D"https://github.com/joyent/freebs= d-vpc" target=3D"_blank">https://github.com/joyent/freebsd-vpc</a>=C2=A0tha= t only has code for a utility that would interact with the code from the af= orementioned now gone repository.</div><div><br><div dir=3D"ltr">Erik N.</d= iv></div></div></blockquote></div><br clear=3D"all"><div><br></div>-- <br><= div dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><di= v dir=3D"ltr"><div><font face=3D"verdana, sans-serif">Philip M. Gollucci</f= ont></div><div><font face=3D"verdana, sans-serif">IT Executive and Engineer= ing Leader<br></font></div><div><span style=3D"color:rgb(0,0,0)"><font face= =3D"verdana, sans-serif"><a href=3D"http://www.linkedin.com/in/pgollucci/" = target=3D"_blank">http://www.linkedin.com/in/pgollucci/</a></font></span></= div><div><span style=3D"color:rgb(0,0,0)">301.818.0719</span></div><div><sp= an style=3D"color:rgb(0,0,0)"><br></span></div><div><span style=3D"color:rg= ba(0,0,0,0.6);font-family:-apple-system,system-ui,system-ui,"Segoe UI&= quot;,Roboto,"Helvetica Neue","Fira Sans",Ubuntu,Oxygen= ,"Oxygen Sans",Cantarell,"Droid Sans","Apple Color= Emoji","Segoe UI Emoji","Segoe UI Symbol","L= ucida Grande",Helvetica,Arial,sans-serif;font-size:14px">TRULY HUMAN N= OTICE:=C2=A0=C2=A0Getting this email out of normal working hours? We work a= t a digitally-enabled relentless pace, which can disrupt our ability to sle= ep 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 expec= t you to respond to it when convenient to you.</span><span style=3D"color:r= gb(0,0,0)"><br></span></div><div><br></div></div></div></div></div></div></= div> </blockquote></div> --00000000000060f07c05dcdae061--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGGgMJfNa12PbfMSomx5RMYbTcHqg7McQhQ4bESw1BSzVk3qTQ>