From owner-freebsd-current@freebsd.org Sun Nov 15 18:06:07 2015 Return-Path: Delivered-To: freebsd-current@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 A333DA2F584 for ; Sun, 15 Nov 2015 18:06:07 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0147.outbound.protection.outlook.com [157.56.110.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18B87138B for ; Sun, 15 Nov 2015 18:06:06 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from DM2PR0501CA0025.namprd05.prod.outlook.com (10.162.29.163) by BY2PR05MB063.namprd05.prod.outlook.com (10.242.34.151) with Microsoft SMTP Server (TLS) id 15.1.318.15; Sun, 15 Nov 2015 18:06:03 +0000 Received: from BN1BFFO11FD045.protection.gbl (2a01:111:f400:7c10::1:114) by DM2PR0501CA0025.outlook.office365.com (2a01:111:e400:5148::35) with Microsoft SMTP Server (TLS) id 15.1.325.17 via Frontend Transport; Sun, 15 Nov 2015 18:06:03 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.17) smtp.mailfrom=juniper.net; freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.17 as permitted sender) Received: from p-emfe01a-sac.jnpr.net (66.129.239.17) by BN1BFFO11FD045.mail.protection.outlook.com (10.58.145.0) with Microsoft SMTP Server (TLS) id 15.1.325.5 via Frontend Transport; Sun, 15 Nov 2015 18:06:02 +0000 Received: from magenta.juniper.net (172.17.27.123) by p-emfe01a-sac.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Sun, 15 Nov 2015 10:05:54 -0800 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id tAFI5rD12622; Sun, 15 Nov 2015 10:05:53 -0800 (PST) (envelope-from sjg@juniper.net) Received: from chaos (localhost [IPv6:::1]) by chaos.jnpr.net (Postfix) with ESMTP id EF42B580A9; Sun, 15 Nov 2015 10:05:52 -0800 (PST) To: Dan Partelly CC: Adrian Chadd , freebsd-current , Subject: Re: libXO-ification - Why - and is it a symptom of deeper issues? In-Reply-To: <702A1341-FB0C-41FA-AB95-F84858A7B3A4@rdsor.ro> References: <0650CA79-5711-44BF-AC3F-0C5C5B6E5BD9@rdsor.ro> <702A1341-FB0C-41FA-AB95-F84858A7B3A4@rdsor.ro> Comments: In-reply-to: Dan Partelly message dated "Sun, 15 Nov 2015 19:10:34 +0200." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25582.1447610752.1@chaos> Date: Sun, 15 Nov 2015 10:05:52 -0800 Message-ID: <26127.1447610752@chaos> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD045; 1:uEAKFnJvUYjql+7cRcf+EXCGb9ELD0rNs1NUtwSCa3rxH9vHHV5r4zhSgOH0kASDM896CMmwfsZjVxG6BMcwkffHOeqG88ukVwlm5ezYJRkcTuKDKubqLBJ9XjaO4n0Gv9qdPIY1RuH4oP4RoQRQkMbTmKjFz1kzFr9OpFqGehQBI1X6BaUOxnmbGPsNK76PeROM6enzq0v99qS2o5d/Eaek7Wd/I5+P4r3jZu9Ona/1A1/pxZKBlPjGkT1tXLQaNJnXRLofiLZ14l14OmtgWFisK0htgVsiuux9lR+u76q5WVi8IdxVDoO1stWta5BjP7+FYXzyK+IAs52mGtxt99/bQxgdaGMunO6bGRTzSmUl71WZtXCuZbPfgg08NA7R X-Forefront-Antispam-Report: CIP:66.129.239.17; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(53824002)(199003)(189002)(47776003)(76506005)(50986999)(97736004)(46406003)(76176999)(105596002)(92566002)(57986006)(50226001)(77096005)(2950100001)(4001430100002)(586003)(5008740100001)(69596002)(117636001)(81156007)(23726002)(86362001)(87936001)(33716001)(106466001)(5007970100001)(11100500001)(50466002)(110136002)(189998001)(561944003)(6806005)(97756001)(5001960100002)(107886002)(42262002)(62816006); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR05MB063; H:p-emfe01a-sac.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB063; 2:M2H9wKyMxmYtPUsU9jIpvx0wRxbGe8yPYLyIN7xFoxdcinIngqARaYkB0z9XqnkUjPLrAuzHK4NO+xHjzlh7mePKc3Nmp3wBuqylvJfi0addPvOaTjzcGdqqr9fOzP/UD33r4l5Tu4c55moRgeOYY74nJANOAnuHdzPt2+K/uK0=; 3:kairdbYtqYK6hQfotzx7TKvh+Ec9I/VoF5NtgI0NOXxbm1ywJbbAPlzBYmhL5v0861hDWX1gHrpWpnQJiw4JoGsO1dDClKr9idMLXLJY/wLCDHWJHeya0WYOOevm43Crut5Wo33txf2BMdNKl5nXR5b3iggW2TG62gcIUEYILYAZNImYjx74z0q9AqoyOGokY4ekbTI2giEv36dPGtX17WzGxfvshXXj/V5wpFk9/vg=; 25:tZH6WOuxt4yCf/TRObw6h3gb4qgJuOfzBh1udLTNMxC79TOzDck4qgQOdawDqglhcRdMicDtTWnmmkcCPZ9VvQM6uXvuGZ679zQD2AiF7u2o/zZgiRj1KSeWv9RYlB5S4HsPIwLCwU0KKnGJge2IH/jjXFBn2AfX2+OofIRCZI7L92HBszR4zExLDEy4rcKo8WjXiD9HoF6qlLFOys2cyPp5tX/tUdY6Ct3zJuQcsI+KrasQJYjtv+4usRd8WnJMSRG3SxD1gWVahOBT5eqkMg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR05MB063; X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB063; 20:gjOHfV6uSCOqfN2a0WqfDAZYebWRJU6FCXBXb7mNfnlOJvzhLyUM3CEjIFAi1EqMqIE0+ODV5NM40p+iVb4vL4YwfTdH1+YXpaVYo5N5NHWLAJ8WuBeAazbVvlDM5C7wkc9fYTnrlvI40Pqz7zE420qRuMO+Npt2W3YEcA1viUh90Is9M4sXuWc1wNE3GxS6gXFHP6INj6RFBkNMB2Z0O7sWCDRCiSXkBXLmjkpzKatD/tRTK5aBy5JmdPJFhWOTKHNNhPlQVqoIhDJdEuOnasdamMkb2Vpja8rHFA5PqKYSRb3YljQoBDd8RgUoAH18DWZKRZom1s+BZyZe8hJ0YNRLx13rzt6A40cE2s3qbDpJvDBrQFjHvK4UeD/SVjjrnizBZe2yC06ZzY56LWi+jcLp+iV0qhv3XCOD10v1NxLU5hFX/KGvNmFYHG7an8hNURcAvpXuFB2J94GCiZ+IpSmQmH7R1wXMhYQWZC3zwPTeH4jKwJMRPUh+RZn/muBY; 4:Lo0h9TW5eeMA9uLWADfZqvryObdyLHzwBKM1cxrUYcHZZpCT6tozXj5pv6SQbFkHVYDHdoUa8yYIiWTg+zZEipH/nJIro+K7D8nREL5MysKu3w/FkfhzrvI26SC0F7LPFNvPkYWg5H3gCYY6i1/13NSl0vtO2sGc/Y6r7QJVq9ra4VVeucaVEuIfcmxskKA9JtUHpR82FfS7FJo3448sxbwPgdVRCGkagLTYxMbA/Eaemg6j/r7hCjxoxcHpHpV4HaHftqkDViczpVPPuCnQ99n2s5bWmtdD1Gb+b3+Zlbs6acpmEDUBItcZoxOuK5uxC3Mb6EI+yfSCk32Qbk0w2KlVePJBewjFNkTNA5MSitQeBchbnAYmR44e2N5BD9Il X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046); SRVR:BY2PR05MB063; BCL:0; PCL:0; RULEID:; SRVR:BY2PR05MB063; X-Forefront-PRVS: 0761DE1EDD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR05MB063; 23:CGvaT32t4VUiFJxQKLsFW1B4kRCS8EmLKmQ9mAJu9P?= =?us-ascii?Q?Xaj7FeZS/Ga169KeBVgnOsQZX69FKSiFp2+2j64X88cyJC7CkA2A5tMapCBJ?= =?us-ascii?Q?/VmhMjH1P5y2pLjorksbZXZMqHU1lds5Xe2B3AotSKqPFwfmjrOF29gT/x2C?= =?us-ascii?Q?Qu114YOfc7Duk1NG7O11V5tsqPkujBVJnEUHVM0ZOhoJqjckFCyvXtrmrTph?= =?us-ascii?Q?lLzDjvKmV5n+RHFDOz9l9dlUB1DPOP4hwYKGgZbmVGL4QmP0hhk73QxQMm/j?= =?us-ascii?Q?yv4Ztm6VT+QgrGkqIhcAg7LV0NZDtPxyFDe51BNyHOx4Xl/GhKCG3TWIo4ap?= =?us-ascii?Q?8p7J8MRJ+7GdpzujzjNLAm/zkR8gUE0aGmvmZ9RfZI8LREgc4oBY5Nt0UzkE?= =?us-ascii?Q?lak9VJsU98wHqeWmiyh/WXGURNgCDPoLkkHos77p9zIPSPfS1UYnNwh5TlJi?= =?us-ascii?Q?mCQUvEc+TG4mIp1qatGGQpZvsBRMK6MmCAT0RRZRsDINj+O6n8X3dxWbdMEW?= =?us-ascii?Q?v4CKUVycbv6vd0NT/v/HD5Kn6JOqxQR+SGCYHMAaq6U6XWEigJAVoxfHPIIj?= =?us-ascii?Q?4+Amp9hv7sDy0H0/ItJpyUkKFbywJZXqkGvNgeYgWoeNCKWdnQR0yyVm9Xhg?= =?us-ascii?Q?AtsjbcE8B4NCE6zBQrGua5ypIl2URQF/B2lmlgN6DUdINWt0RkhKlbw2b7ok?= =?us-ascii?Q?QOQQszvMy3DD1PeQRwKcraLw++nj6r+W8UK/de08yrhQnMp+B1eoZUUkKEWq?= =?us-ascii?Q?sy6gIcuYO5KI/SBVZdBLO3JGJELTnvzDHS3538DF57rddGcO5k+oDkv44OAH?= =?us-ascii?Q?ZZw5hOm4z/Appn9ZmWo/CRV2PIMJWqid7uIYsG6nRBO6bD08MDgo6yYKInne?= =?us-ascii?Q?izK++Pt0+ueotZ60q0XSbwU4QtOun8XAav7PeFQ3fa1E4Bw8MWcvWjhk4vIu?= =?us-ascii?Q?Jo4pUP/f+8rnlj/YbD1YJOtotj7RnMOMcVGzHXtvDuOW07VjWajL5xKcbPfx?= =?us-ascii?Q?yBkbCyyWAENAPcKhMRoYbrSwE4NewDana8nGxPOIa4ieJuT3vo69KwGmDAvI?= =?us-ascii?Q?RXwQuslxl9vaviTyYVNB+Fn4nb?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB063; 5:5h269joVe9KuO7t8e5PsFjA5UP09LMlg7d1ZKdO0K9D/rNI4ZM7XhJ+VlF7J6b+QdpaJfvs4jJFBpk9FLy49DDIW4dS6p1RZidBzRbeFBGV+Lmq8RehWY+D8plOX1aRrKW+BihQ2Ye0zmZtWncv4xA==; 24:NDiAsngK2KhURMMEYnAWwatFKHRqwwcB5HzU79OaaCjqe7AnERYjBo9CfZByIVMLhJmtfxiZ5++lUCQ0p+oDOAd2WKRMd1rzYI1wqAvwAvA=; 20:LU+szCxBRnGPmqoucWroIaucqmHUgf80OGyMHcMwU2eKwPKJFKM4OFWjyPabw2cSRq7Dm7ryZlff0hGBrnPmZw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2015 18:06:02.6194 (UTC) X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.17]; Helo=[p-emfe01a-sac.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB063 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2015 18:06:07 -0000 Hi Dan > Meaning, is that simple to push things in head , if somone does the > work, even with with no proper review of the problem at hand , and the > proposed solutions ? Not sure what sort of review you are looking for. But I can speak to some of the history behind this. FreeBSD holds regular "vendor summit" meetings where folk using FreeBSD in products can get together - sort of a swap meet (I have this, I need this ...). At one such meeting at BSDCan 2011, I metioned that we (Juniper) had tweaked many of the startard tools to output XML, and asked if anyone else was interested in the facility. I was frankly surprised at the number of hands raised. There was clearly demand from a segment of the FreeBSD community. The ability to get machine parsable output from OS components is a big part of the success of Junos CLI, netconf etc. It took a few years to get some time from phil@ to design a solution that we could consider upstreaming - libxo was the result. BTW this is a "problem space" that phil has been deeply involved in for over 15 years, so yes I think we can say the problem has been studied. That demand I mentioned? also resulted in a GSoC project to do the same thing - though it was much like approach that Juniper had done over a decade ago that we had considered unsuitable for upstreaming. But it rather clearly demonstrates that there was demand beyond the whim of a small group of folk or just one company pushing something unwanted into the project. The number of developers who have jumped in to XO'ify apps also speaks to that. The original proposal was for XML only (that's what we'd used and found useful), but others wanted JSON as well. Libxo can also output very rich HTML - I forget which HTML or JSON, is used but this allows some seriously slick UI's to be implemented using a modern web browser. Hope that helps --sjg