Re: [Coin] P4 runtime etc.

"Charles Eckel (eckelcu)" <eckelcu@cisco.com> Sun, 21 July 2019 13:30 UTC

Return-Path: <eckelcu@cisco.com>
X-Original-To: coin@ietfa.amsl.com
Delivered-To: coin@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A09A12011E for <coin@ietfa.amsl.com>; Sun, 21 Jul 2019 06:30:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=a40KvmjL; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=iEbQmVJR
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23lEd61RA0cQ for <coin@ietfa.amsl.com>; Sun, 21 Jul 2019 06:30:35 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30F6B1200B6 for <coin@irtf.org>; Sun, 21 Jul 2019 06:30:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13865; q=dns/txt; s=iport; t=1563715835; x=1564925435; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=2+ogCcTJA1KAl3IDtwWwzQw4P1JtMiuEOKxmQILjIBY=; b=a40KvmjLD0ElQOpOO5TaFRE09zmYsEBfx2OvVvKbaR0QWLD2HK8w3QGo poQAHnXTr33Olp92ZJiy938Gy3b1q2fp7WpW36DEfkDBFfZP7ZcR1ddHW 86451JkoZf1qre2Ed1SNCA1OIZzk3UibJBC5zHWFvkdbuzQXLF7ZKeFRk 4=;
IronPort-PHdr: 9a23:4ifVQBIpi5OJVB6dttmcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeBvad2lFGcW4Ld5roEkOfQv636EU04qZea+DFnEtRXUgMdz8AfngguGsmAXEDwL/PuZDESF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CrAACbaDRd/5RdJa1lGgEBAQEBAgEBAQEHAgEBAQGBZ4EVLyQsA21VIAQLKgqEE4NHA419TIIPknuEVYJSA1QJAQEBDAEBHw4CAQGEQAIXgjsjOBMBAwEBBAEBAgEGbYUeDIVKAQEBAQMSER0BATIGDwIBCBEDAQEBKwICAjAUCQgCBAESIoMAAYEdTQMdAZ4jAoE4iGBxgTKCeQEBBYUAGIITAwaBNItfF4F/gREnH4JMPoJhAoIBDYJeMoImjBQOMQKCI4R+lnEJAoIZhliNNBuYCo01h0iQCAIEAgQFAg4BAQWBZyGBWHAVZQGCQYFKeINxilNygSmNCQGBIAEB
X-IronPort-AV: E=Sophos;i="5.64,290,1559520000"; d="scan'208,217";a="596068399"
Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 21 Jul 2019 13:30:33 +0000
Received: from XCH-ALN-019.cisco.com (xch-aln-019.cisco.com [173.36.7.29]) by rcdn-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id x6LDUXZr007680 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 21 Jul 2019 13:30:33 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-ALN-019.cisco.com (173.36.7.29) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 21 Jul 2019 08:30:33 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 21 Jul 2019 09:30:32 -0400
Received: from NAM05-BY2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 21 Jul 2019 08:30:32 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XHIuWx1GoC8hV//+KYIbCPvzbc3d9i67PA9EyO4DoBsTW6Rw0dCOiE49qXODl6Y7Zbhf6XweQ75h5bgwcoSb6qEVCk4n7UB8T1FMJTkgw+4FlUdwbnV0jdT0PqX704fOSqD3lwXx8ij+9RM4DZLYUcvQR8UsHOM3OQhcjmZycfis0FFP5QgPtK06jRpiX9RY/3vbQOaHtiIhZCsUfS2EL1AO/U5+IPxsQMZSsvt1GAcvLVZqN4i24LWyg7E0zh5IwCxAwk2g8e0yHb2CtT9y3jmoydGnGcfD0PwNz0AmdSCOh2qTLbc/hhNcgZQliSVEGw2XVIEd3YKwYAKiZBKptA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2+ogCcTJA1KAl3IDtwWwzQw4P1JtMiuEOKxmQILjIBY=; b=fYBoxuwWW0nm4lz73mSdSaTotJGFBEFaJziI9p61GzS+MauX1aApTamYNkzLKwbX3WzRLxmcZHGXLHrr8rtyOrXxNuGSg0a7ZjUgp9BSsUqHLKz2iBZHoIf+wedcqBiBLeQz+q95SxKpqlCaQcFtv1A9x4sl1EzFsQ+Z4IRVHe5CsnEA+dBtPXWRO2JukY69haRnwYQWymrFtbrkSRwyN1I/2bW+v7gWJKM2KqX0pLbu7rOXk+7XS5UEhDSYv6RucJtGjX6Tva3lW4WBoQoaNdD8e8D8yjdHmwQTwP/vDnd68OXtmn7kLz0Dh5RvP8Bte8juZZ7NXgnyMgJ+TRkZZA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cisco.com;dmarc=pass action=none header.from=cisco.com;dkim=pass header.d=cisco.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2+ogCcTJA1KAl3IDtwWwzQw4P1JtMiuEOKxmQILjIBY=; b=iEbQmVJRhugXoikkgBEXl0Hwc7yamKVcbQlQRLzqCkIfsmUssHeu/77zNU+fpWfYRiDgvH0J7c8sn3a62zbhtEKz6RpNqBbarxjr660wF2scXUk1PfNdauT5I+13uyJAFWDxTpnMPJ36641r5ti639QqLCCNov4E5YrN8afIe8w=
Received: from BY5PR11MB4120.namprd11.prod.outlook.com (10.255.162.220) by BY5PR11MB4211.namprd11.prod.outlook.com (52.132.252.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Sun, 21 Jul 2019 13:30:30 +0000
Received: from BY5PR11MB4120.namprd11.prod.outlook.com ([fe80::6083:933b:bc74:52fa]) by BY5PR11MB4120.namprd11.prod.outlook.com ([fe80::6083:933b:bc74:52fa%7]) with mapi id 15.20.2094.011; Sun, 21 Jul 2019 13:30:30 +0000
From: "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
To: "hemant@mnkcg.com" <hemant@mnkcg.com>, 'Andrew Alston' <Andrew.Alston@liquidtelecom.com>, "coin@irtf.org" <coin@irtf.org>
Thread-Topic: [Coin] P4 runtime etc.
Thread-Index: AQIjBljv1BzS9dacH9UC+gfhXLULTqY5bTwA///T8IA=
Date: Sun, 21 Jul 2019 13:30:29 +0000
Message-ID: <CA06C2BC-F5CF-4B96-81C1-738674030CD2@cisco.com>
References: <27BED081-D789-4EE2-8C1A-70069D610FF9@liquidtelecom.com> <019f01d53fbd$93c55690$bb5003b0$@mnkcg.com>
In-Reply-To: <019f01d53fbd$93c55690$bb5003b0$@mnkcg.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1b.0.190715
authentication-results: spf=none (sender IP is ) smtp.mailfrom=eckelcu@cisco.com;
x-originating-ip: [173.38.117.75]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b810001b-a3db-49a8-1e09-08d70ddf99a9
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BY5PR11MB4211;
x-ms-traffictypediagnostic: BY5PR11MB4211:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <BY5PR11MB4211F3DB4D695C1A1E97F81BB2C50@BY5PR11MB4211.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3826;
x-forefront-prvs: 0105DAA385
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(396003)(39860400002)(53754006)(189003)(199004)(36756003)(2616005)(11346002)(446003)(6306002)(54896002)(53936002)(25786009)(6116002)(3846002)(6512007)(236005)(9326002)(478600001)(6436002)(6486002)(7736002)(606006)(71190400001)(71200400001)(8936002)(33656002)(486006)(81166006)(81156014)(8676002)(2906002)(476003)(26005)(186003)(53546011)(76176011)(966005)(58126008)(2501003)(66066001)(110136005)(316002)(256004)(14444005)(14454004)(6506007)(99286004)(6246003)(229853002)(68736007)(86362001)(66476007)(66556008)(64756008)(66446008)(66946007)(102836004)(91956017)(5660300002)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:BY5PR11MB4211; H:BY5PR11MB4120.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: yzA8gDs18otkFqPwboukBx0s98E4RbPahgQSZ4H9/gst7yzbjMCxP0HroUK6ZfSK5D3TGnxVQOsN0qdu8wvP8NPU5spxuWiBU1N/qcAazmVsMAF+QwGDTIcH1PeHNH2Vc9lJjo84mBVCGsnhNdNZCEuHKGu0iD9IRFc4psv8Loxg3yvdJZccAA3k5hzVcHLAva5Rxx3KBpyvAig8QIqV+G1mMPUxJSIov3L4tGluXXGfgM2L9sm8n9Ytmnj075tCNmOjU6piLYTwEE/L6F5KSgaqxqyQsUOWwFbCxedWp6X6OT3kJkY9Zp5TYyNqZy3yfZSEiwiavBIZmQ+4rrPdlp6yEDt7yq6rNQ47/5JEIqGOtSZ3hRH9N0X1HtlxjWdyGD3P/H1AIS5z7CRNnoYE5TFyjCSnz8l3cSX/OVDM8n4=
Content-Type: multipart/alternative; boundary="_000_CA06C2BCF5CF4B9681C1738674030CD2ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: b810001b-a3db-49a8-1e09-08d70ddf99a9
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2019 13:30:30.0751 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: eckelcu@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4211
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.29, xch-aln-019.cisco.com
X-Outbound-Node: rcdn-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/coin/UxkAlglTphJI9B4Lgqq5FPxMp5U>
X-Mailman-Approved-At: Sun, 21 Jul 2019 06:39:15 -0700
Subject: Re: [Coin] P4 runtime etc.
X-BeenThere: coin@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "COIN: Computing in the Network" <coin.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/coin>, <mailto:coin-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/coin/>
List-Post: <mailto:coin@irtf.org>
List-Help: <mailto:coin-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/coin>, <mailto:coin-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Jul 2019 13:30:37 -0000

Hi Andrew,

I’d be happy to help get you setup with a repo in the IETF-Hackathon GitHub org. We can do this whenever convenient. You can generally find me near the front of the room on the left hand side, close to where the screen and podium are.

Cheers,
Charles

From: "hemant@mnkcg.com" <hemant@mnkcg.com>
Organization: MNK Consulting
Reply-To: "hemant@mnkcg.com" <hemant@mnkcg.com>
Date: Sunday, July 21, 2019 at 8:13 AM
To: 'Andrew Alston' <Andrew.Alston@liquidtelecom.com>, "coin@irtf.org" <coin@irtf.org>
Cc: Charles Eckel <eckelcu@cisco.com>
Subject: RE: [Coin] P4 runtime etc.

Andrew,

I have cced to Charles Eckel who can help.  Charles setup two repos for my open-source code for the hackathon at https://github.com/IETF-Hackathon

I do program GoLang, but am buried today and during ensuing weeks with work.  However, once I see the open-source code, I can see what I can contribute during my spare time.

Thanks,

Hemant

From: Coin <coin-bounces@irtf.org> On Behalf Of Andrew Alston
Sent: Sunday, July 21, 2019 8:06 AM
To: coin@irtf.org
Subject: [Coin] P4 runtime etc.

Hi All,

So after yesterday’s hackathon session and a brief bit of sleep – I decided to take a look at implementing other code we had using a p4 data plane – now that was interesting – because when I started looking at the p4runtime implementations etc. – as stated, they use grpc – but there is actually a fair bit in there in the python libraries.

So – What I’ve started – and am in the very very early stages of doing – is creating a Golang port of the p4 runtime libraries – this will let me handle the Protobufs and GRPC calls correctly from Golang.  As I move on this – I’ll happily opensource this code and share it as it comes – and I’ll request some of my team to get involved in this as well.

If there are any golang coders out there interested in assisting with this project – I’d be happy to discuss.  I’ll also get details this morning about where we can commit code to a public repo so we can check the code in etc as we go in case anyone else has a use case for it

Thanks

Andrew