OpenBSD CVS

CVS log for src/usr.sbin/switchctl/Attic/ofpclient.c


[BACK] Up to [local] / src / usr.sbin / switchctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8, Thu Nov 11 09:59:19 2021 UTC (2 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED

Retire switchd and switchctl. While interesting they never managed to
really get into a usable state. The OpenFlow API is mostly superseeded
by P4 and so this is a bit of a dead end.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 21 21:10:24 2018 UTC (5 years, 7 months ago) by akoshibe
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.6: +19 -1 lines
Diff to previous 1.6 (colored)

Add the ability to query a switch(4) instance via its control device. Also
explicitly set the OpenFlow version during the handshake prior to a query.

Since switchctl(8) behaves like a controller in this case, a switch can't be
connected to switchd(8) while it is being queried in this way.

OK claudio@, tb@ and mestre@ for pledge changes

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 9 16:42:14 2017 UTC (7 years, 4 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

log_verbose() -> log_setverbose()

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 2 14:39:46 2016 UTC (7 years, 6 months ago) by rzalamena
Branch: MAIN
Changes since 1.4: +42 -12 lines
Diff to previous 1.4 (colored)

Implement the connection state machine for OpenFlow 1.0 and 1.3 to detect
invalid state transitions and invalid protocol version switching after the
hello messages exchange.

ok reyk@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 24 09:23:11 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.3: +98 -28 lines
Diff to previous 1.3 (colored)

Add simple client to add flows from switchctl.  Not finished yet, but
it is better for rzalamena and me to work on it in the tree.

OK rzalamena@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 18 22:15:52 2016 UTC (7 years, 6 months ago) by tb
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Unbreak the tree: OFP_GROUP_ANY was renamed to OFP_GROUP_ID_ANY.

fix found joint with rpe, ok reyk

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 15 09:05:14 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.1: +6 -1 lines
Diff to previous 1.1 (colored)

Add a socket_setport() util function, in addition to socket_getport(),
and use it in switchctl to set a default port for "dump".
No functional change for switchd itself.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Nov 15 08:15:07 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN

Add a simple openflow client to dump switch information.  The
implementation re-uses the openflow code from switchd. Not finished
yet, but it is better to continue working on it in the tree.  Later
versions will also include a way to add flows from the command line -
this is being worked on for switchd and some code of the
"ASCII-to-flow" parser will be shared here as well.

As discussed with and lightly tested by rzalamena@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.