Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2022 19:55:28 +0200
From:      erik@nstr.no
To:        Mark Peek <mp@freebsd.org>
Cc:        freebsd-virtualization@freebsd.org, "Philip M. Gollucci" <pgollucci@p6m7g8.com>, Mark Peek <mp@freebsd.org>
Subject:   =?utf-8?Q?Re=3A_Anyone_have_a_copy_of_the_work_that_Joyent_did_on?= =?utf-8?Q?_FreeBSD_=E2=80=9CVPC=E2=80=9D_software_defined_networking=3F?=
Message-ID:  <5E1FDCD3-8406-460D-ACC3-C727E7BB9E53@nstr.no>
In-Reply-To: <CAGGgMJcTqw%2B56epsNJNV8E%2B=Zo_11GqRriOvLDp717NefG5U%2Bg@mail.gmail.com>
References:  <CAGGgMJfNa12PbfMSomx5RMYbTcHqg7McQhQ4bESw1BSzVk3qTQ@mail.gmail.com> <C0A15723-7600-4F1D-B381-392A7C61B0C1@nstr.no> <CAGGgMJcTqw%2B56epsNJNV8E%2B=Zo_11GqRriOvLDp717NefG5U%2Bg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
That’s the one! Awesome! Thank you very much Mark!

Erik

> On 17 Apr 2022, at 19:30, Mark Peek <mp@freebsd.org> wrote:
> 
> Erik,
> Sorry about that, teach me to respond from my phone.
> 
> How about this for the FreeBSD related code?
> https://github.com/sean-/freebsd <https://github.com/sean-/freebsd>;
> 
> which has a default branch of projects/VPC?
> 
> Mark
> 
> On Sun, Apr 17, 2022 at 9:10 AM Erik N <erik@nstr.no <mailto:erik@nstr.no>> wrote:
> Thank you Mark but as mentioned that’s not it.
> 
> Erik
> 
>> On 17 Apr 2022, at 16:58, Mark Peek <mp@freebsd.org <mailto:mp@freebsd.org>> wrote:
>> 
>> 
>> Perhaps this?
>> https://github.com/joyent/freebsd-vpc <https://github.com/joyent/freebsd-vpc>;
>> 
>> Mark
>> 
>> On Sun, Apr 17, 2022 at 6:03 AM Philip M. Gollucci <pgollucci@p6m7g8.com <mailto: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 <mailto:erik@nstr.no>> wrote:
>> I was watching this presentation from BSDCan 2018, by Sean Chittenden, titled “Introducing FreeBSD VPC”.
>> 
>> The video recording of said presentation is at https://youtu.be/La4ekkKbM5o <https://youtu.be/La4ekkKbM5o>; and slides are at https://papers.freebsd.org/2018/chittenden-freebsd_vpc.files/chittenden-freebsd_vpc-slides.pdf <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 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>;
>> 
>> https://github.com/joyent/freebsd/tree/projects/VPC/libexec/go/src/go.freebsd.org/sys/vpc <https://github.com/joyent/freebsd/tree/projects/VPC/libexec/go/src/go.freebsd.org/sys/vpc>;
>> 
>> Unfortunately, the whole repository on GitHub is gone. 404. And I couldn’t 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 <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/ <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.
>> 


[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">That’s the one! Awesome! Thank you very much Mark!<div class=""><div class=""><br class=""></div><div class="">Erik<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Apr 2022, at 19:30, Mark Peek &lt;<a href="mailto:mp@freebsd.org" class="">mp@freebsd.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Erik,<div class="">Sorry about that, teach me to respond from my phone.</div><div class=""><br class=""></div><div class="">How about this for the FreeBSD&nbsp;related code?</div><div class=""><a href="https://github.com/sean-/freebsd" class="">https://github.com/sean-/freebsd</a><br class=""></div><div class=""><br class=""></div><div class="">which has a default branch of projects/VPC?</div><div class=""><br class=""></div><div class="">Mark</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 17, 2022 at 9:10 AM Erik N &lt;<a href="mailto:erik@nstr.no" class="">erik@nstr.no</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto" class="">Thank you Mark but as mentioned that’s not it.<br class=""><br class=""><div dir="ltr" class="">Erik</div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On 17 Apr 2022, at 16:58, Mark Peek &lt;<a href="mailto:mp@freebsd.org" target="_blank" class="">mp@freebsd.org</a>&gt; wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class="">Perhaps this?<br class=""><a href="https://github.com/joyent/freebsd-vpc" target="_blank" class="">https://github.com/joyent/freebsd-vpc</a><br class=""><div class=""><br class=""></div><div class="">Mark</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 17, 2022 at 6:03 AM Philip M. Gollucci &lt;<a href="mailto:pgollucci@p6m7g8.com" target="_blank" class="">pgollucci@p6m7g8.com</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class="gmail_default" style="font-family:&quot;comic sans ms&quot;,sans-serif">I may be able to get ahold of Brian Cantrill.&nbsp; He's likely the best PoC too.</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 17, 2022 at 2:49 AM Erik N &lt;<a href="mailto:erik@nstr.no" target="_blank" class="">erik@nstr.no</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto" class="">I was watching this presentation from BSDCan 2018, by Sean Chittenden, titled “Introducing FreeBSD VPC”.<div class=""><br class=""></div><div class="">The video recording of said presentation is at&nbsp;<a href="https://youtu.be/La4ekkKbM5o" target="_blank" class="">https://youtu.be/La4ekkKbM5o</a>&nbsp;and slides are at&nbsp;<a href="https://papers.freebsd.org/2018/chittenden-freebsd_vpc.files/chittenden-freebsd_vpc-slides.pdf" target="_blank" class="">https://papers.freebsd.org/2018/chittenden-freebsd_vpc.files/chittenden-freebsd_vpc-slides.pdf</a></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">From two of the slides:</div><div class=""><br class=""></div><div class=""><div class="">vpc(4) Interfaces</div><div class="">vpcsw(4) - switches packets - one packet per customer, multiple subnets supported in the same switch</div><div class="">vmnic(4) - dedicated guest NIC, looks like a virtio network device to guests</div><div class="">vpcp(4) - plugs vmnic(4) ports into vpcsw(4) switches vpci(4) - Non-bhyve(4) interface, usable in jails(2)</div><div class="">ethlink(4) - Performs unencapsulated packet forwarding, wraps a cloned or physical ethernet interface</div><div class="">vpclink(4) - Performs VXLAN encapsulation</div></div><div class=""><br class=""></div><div class=""><div class="">New System Calls</div><div class="">vpc_open(2) - Creates a new VPC descriptor vpc_ctl(2) - Manipulates VPC descriptors Capsicum-like, intended for privilege separation Intended for idempotent tooling</div><div class="">Makes aggressive use of UUIDs as operator handles to be compatible with Triton</div></div><div class=""><br class=""></div><div class="">At the very end of the presentation slides are links to for kernel code and kernel library code on GitHub:</div><div class=""><br class=""></div><div class=""><div class=""><a href="https://github.com/joyent/freebsd/tree/projects/VPC" target="_blank" class="">https://github.com/joyent/freebsd/tree/projects/VPC</a></div><div class=""><br class=""></div><div class=""><a href="https://github.com/joyent/freebsd/tree/projects/VPC/libexec/go/src/go.freebsd.org/sys/vpc" target="_blank" class="">https://github.com/joyent/freebsd/tree/projects/VPC/libexec/go/src/go.freebsd.org/sys/vpc</a></div></div><div class=""><br class=""></div><div class="">Unfortunately, the whole repository on GitHub is gone. 404. And I couldn’t find any forks of it either.</div><div class=""><br class=""></div><div class="">Does anyone have a copy of the VPC branch that Joyent had in that repository?</div><div class=""><br class=""></div><div class="">All that seems to be left of the project on Joyent's GitHub is a separate, archived repository&nbsp;<a href="https://github.com/joyent/freebsd-vpc" target="_blank" class="">https://github.com/joyent/freebsd-vpc</a>&nbsp;that only has code for a utility that would interact with the code from the aforementioned now gone repository.</div><div class=""><br class=""><div dir="ltr" class="">Erik N.</div></div></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><font face="verdana, sans-serif" class="">Philip M. Gollucci</font></div><div class=""><font face="verdana, sans-serif" class="">IT Executive and Engineering Leader<br class=""></font></div><div class=""><span style="" class=""><font face="verdana, sans-serif" class=""><a href="http://www.linkedin.com/in/pgollucci/" target="_blank" class="">http://www.linkedin.com/in/pgollucci/</a></font></span></div><div class=""><span style="" class="">301.818.0719</span></div><div class=""><span style="" class=""><br class=""></span></div><div class=""><span style="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 Sans&quot;, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Lucida Grande&quot;, Helvetica, Arial, sans-serif; font-size: 14px;" class="">TRULY HUMAN NOTICE:&nbsp;&nbsp;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.</span><span style="" class=""><br class=""></span></div><div class=""><br class=""></div></div></div></div></div></div></div>
</blockquote></div>
</div></blockquote></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E1FDCD3-8406-460D-ACC3-C727E7BB9E53>