Friday, 2021-01-29

*** jaicaa has quit IRC00:19
*** jaicaa has joined #openvswitch00:19
*** yamamoto_ has joined #openvswitch00:45
*** dcbw1 has joined #openvswitch00:46
*** dcbw has quit IRC00:46
*** yamamoto has quit IRC00:46
*** tbachman has quit IRC00:49
*** tbachman has joined #openvswitch00:49
*** sri_ has quit IRC01:11
*** acidfoo has quit IRC01:11
*** larsks has quit IRC01:11
*** sri_ has joined #openvswitch01:12
*** acidfoo has joined #openvswitch01:12
*** larsks has joined #openvswitch01:12
*** _lore_ has quit IRC01:20
*** _lore_ has joined #openvswitch01:21
*** dcbw1 has quit IRC01:28
*** liuyulong has quit IRC01:34
*** acidfoo has quit IRC02:10
*** acidfoo has joined #openvswitch02:11
*** acidfoo has quit IRC02:15
*** yamamoto_ has quit IRC02:15
*** yamamoto has joined #openvswitch02:16
*** liuyulong has joined #openvswitch02:18
*** acidfoo has joined #openvswitch02:28
*** spatel has joined #openvswitch02:50
*** rcernin has quit IRC03:27
*** moldorcoder7 has joined #openvswitch03:31
*** avishnoi_ has joined #openvswitch03:31
*** Kamilion|ZNC has joined #openvswitch03:33
*** moldorcoder7_ has quit IRC03:38
*** avishnoi has quit IRC03:38
*** dmarchand has quit IRC03:38
*** Kamilion has quit IRC03:38
*** Kamilion|ZNC is now known as Kamilion03:38
*** avishnoi_ is now known as avishnoi03:38
*** rcernin has joined #openvswitch03:41
*** dmarchand has joined #openvswitch03:43
*** fdangelo has quit IRC03:49
*** fdangelo has joined #openvswitch03:49
*** zenkuro has joined #openvswitch03:55
*** acidfoo has quit IRC04:13
*** acidfoo has joined #openvswitch04:20
*** ihrachys has quit IRC04:25
*** ihrachys has joined #openvswitch04:26
*** spatel has quit IRC05:34
*** links has joined #openvswitch05:55
*** zenkuro has quit IRC06:04
*** a5m0 has quit IRC07:11
*** a5m0 has joined #openvswitch07:13
*** dholler has joined #openvswitch07:29
*** eelco has joined #openvswitch07:33
*** spatel has joined #openvswitch07:35
*** ralonsoh has joined #openvswitch07:39
*** spatel has quit IRC07:40
*** slaweq has joined #openvswitch07:57
*** slaweq has quit IRC08:10
*** slaweq has joined #openvswitch08:14
*** elvira has joined #openvswitch08:58
*** rcernin has quit IRC09:02
*** yamamoto has quit IRC09:02
*** rcernin has joined #openvswitch09:21
*** slaweq has quit IRC09:35
*** yamamoto has joined #openvswitch09:38
*** slaweq has joined #openvswitch09:43
*** anilvenkata has joined #openvswitch09:45
*** yamamoto has quit IRC09:48
*** istokes has joined #openvswitch09:55
*** yamamoto has joined #openvswitch10:19
*** rcernin has quit IRC10:23
*** zhouhan has joined #openvswitch10:25
*** spatel has joined #openvswitch10:36
*** rebrec has quit IRC10:39
*** spatel has quit IRC10:40
*** zhouhan has quit IRC10:41
*** zhouhan has joined #openvswitch10:43
*** rebrec has joined #openvswitch11:10
*** rcernin has joined #openvswitch11:33
*** acidfu_ has joined #openvswitch11:59
*** acidfoo has quit IRC12:01
*** mdgray has joined #openvswitch12:27
*** elvira has quit IRC12:31
*** rcernin has quit IRC12:32
*** elvira has joined #openvswitch12:52
*** yamamoto has quit IRC12:53
*** marlinc has quit IRC13:00
*** amorenoz has quit IRC13:00
*** ghormoon has quit IRC13:00
*** marlinc has joined #openvswitch13:01
*** amorenoz has joined #openvswitch13:01
*** ghormoon has joined #openvswitch13:01
*** ghormoon has quit IRC13:01
*** ghormoon has joined #openvswitch13:01
*** liuyulong has quit IRC13:03
*** zigo has quit IRC13:03
*** liuyulong has joined #openvswitch13:03
*** zigo has joined #openvswitch13:03
*** yamamoto has joined #openvswitch13:21
*** yamamoto has quit IRC13:26
*** istokes has quit IRC13:33
*** istokes has joined #openvswitch13:33
*** yamamoto has joined #openvswitch13:37
*** istokes has quit IRC13:39
*** istokes has joined #openvswitch13:44
*** spatel has joined #openvswitch13:51
*** spatel has quit IRC13:53
*** spatel has joined #openvswitch13:54
*** bostondriver has joined #openvswitch13:55
*** yamamoto has quit IRC14:57
*** dcbw has joined #openvswitch15:01
*** zenkuro has joined #openvswitch15:42
*** istokes has quit IRC16:03
*** eelco has quit IRC16:19
*** donhw has quit IRC16:33
*** donhw has joined #openvswitch16:34
*** zenkuro has quit IRC16:43
*** zenkuro has joined #openvswitch16:44
*** zenkuro has quit IRC16:50
*** zenkuro has joined #openvswitch16:50
*** links has quit IRC16:58
*** zenkuro has quit IRC17:03
*** zenkuro has joined #openvswitch17:03
*** dholler has quit IRC17:24
*** rebrec has quit IRC17:47
*** rebrec has joined #openvswitch17:48
*** elvira has quit IRC18:04
*** zenkuro has quit IRC18:17
*** ralonsoh has quit IRC18:19
*** zhouhan has quit IRC18:21
*** dcbw has quit IRC18:29
*** ktraynor has quit IRC19:22
*** anilvenkata has quit IRC19:48
*** fab23 has quit IRC19:54
*** fab23 has joined #openvswitch20:00
*** rcernin has joined #openvswitch20:09
*** tbachman has quit IRC20:13
*** tbachman has joined #openvswitch20:14
*** fbl_ has quit IRC20:20
*** rcernin has quit IRC20:44
*** slaweq has quit IRC20:59
*** rcernin has joined #openvswitch21:10
*** donhw_ has joined #openvswitch21:14
*** rcernin has quit IRC21:15
*** donhw has quit IRC21:17
*** rcernin has joined #openvswitch21:27
*** deadalnix has joined #openvswitch21:50
*** deadalnix has quit IRC21:59
*** deadalnix has joined #openvswitch21:59
*** deadalnix has quit IRC22:00
*** deadalnix has joined #openvswitch22:03
deadalnixHi all, I was looking into setting up OVN network programatically (mostly learning at this time). All the doc I find online tell me to use ovn-nbctl to create switch, ports, etc...22:04
deadalnixThis works fine when setting things up manually, but seems like a nightmare to do programatically22:04
deadalnixLike are we supposed to parse the output of ovn-nbctl show, then figure out the differenc with what we wnt and generate the proper commands?22:04
deadalnixThat seems very error prone.22:05
deadalnixI'm sure I'm missing something22:05
deadalnixCan one of you point me in the right direction?22:05
*** yamamoto has joined #openvswitch22:11
*** bostondriver has quit IRC22:13
*** yamamoto has quit IRC22:21
*** yamamoto has joined #openvswitch22:25
*** stand has quit IRC22:26
*** armax has quit IRC22:43
imaximetsdeadalnix, technically ovn-nbctl is just a tool to work with Northbound Database maintained by ovsdb-server process.  Interface with the database is a standardized json-rpc protocol (RFC 7047) that should be easy to use from different applications.  There are C and python bindings for ovsdb operations in the OVS main repository. There is a python ovsdbapp library based on them.  There is a go-ovn project with OVN-specific Go22:44
imaximetsbindings.22:44
*** spatel has quit IRC22:45
*** rcernin has quit IRC22:47
deadalniximaximets, that sounds like what I'm looking for. Could you give me a couple of keyword to search for so I can figure this out?22:47
*** fdangelo has quit IRC22:51
*** fdangelo has joined #openvswitch22:51
*** deadalnix has quit IRC22:53
*** deadalnix has joined #openvswitch22:53
imaximetsdeadalnix, If you want to use python, you may look for 'python-openvswitch' package (https://github.com/openvswitch/ovs/tree/master/python) or 'ovsdbapp' project (https://pypi.org/project/ovsdbapp/).  If you want to use Go: 'go-ovn' is your choice (https://github.com/eBay/go-ovn).  For C you'll need to use ovsdb-idl, here it's probably easier to just look at the code of ovn-nbctl.  If you want to use different language,22:55
imaximetsyou'll need to read https://tools.ietf.org/html/rfc7047 and implement it.22:55
imaximetsAt least I do not know if there are existing libraries for other languages.22:56
deadalniximaximets, thanks, that is vry helpful22:58
imaximetsdeadalnix, no problem.22:59
*** rcernin has joined #openvswitch23:04
*** rcernin has quit IRC23:19
*** mdgray has quit IRC23:28
*** spatel has joined #openvswitch23:33
*** deadalnix has quit IRC23:41
*** deadalnix has joined #openvswitch23:42
*** deadalnix has quit IRC23:49
*** deadalnix has joined #openvswitch23:49
*** deadalnix has quit IRC23:57
*** deadalnix has joined #openvswitch23:57

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!