Monday, 2017-06-05

*** Yipei has joined #openstack-tricircle00:57
*** gongysh has joined #openstack-tricircle01:52
*** dongfeng has joined #openstack-tricircle02:30
*** joehuang has joined #openstack-tricircle02:57
*** dongfeng has quit IRC02:57
*** Yipei has quit IRC02:57
*** Yipei has joined #openstack-tricircle02:58
*** dongfeng has joined #openstack-tricircle03:10
*** dongfeng has quit IRC03:32
*** dongfeng has joined #openstack-tricircle03:44
joehuanghello dongfeng?06:22
*** Yipei_ has joined #openstack-tricircle06:49
*** Yipei has quit IRC06:50
dongfenghello06:54
joehuangHello, dongfeng08:07
dongfenghi08:07
joehuangfor the pagination,08:07
joehuangif no limits is given, need to limit the search return at most for example 2000 records, even if the table has thousands of records08:08
joehuangand return remark for pagination08:08
joehuangthis is to avoid too much records has to be retrieved, will make the db server keeping busy or dead08:09
dongfengdoes the 'remark' mean the last item in the page?08:10
dongfenghttp://paste.openstack.org/show/611378/08:11
dongfengcurrently I have implement the pagination like this:https://developer.openstack.org/api-ref/networking/v2/#pagination08:13
joehuangyes, "remark" is marker08:32
dongfengok.08:32
joehuangso in the server side, the server should protect itself not being attacked like DoS08:33
joehuang"Deny of Service:08:33
dongfengthen I will set the pagination limit by cfg.CONF08:35
dongfengand set its value to 200008:35
joehuangby default through configuration08:47
dongfengyes, then we can set its value when call list function08:47
*** dongfeng has quit IRC09:18
*** dongfeng has joined #openstack-tricircle09:31
*** dongfeng has quit IRC09:36
*** joehuang has quit IRC09:38
*** dongfeng has joined #openstack-tricircle09:52
*** dongfeng has quit IRC10:38
*** dongfeng has joined #openstack-tricircle10:57
*** gongysh has quit IRC10:58
*** dongfeng has quit IRC11:10
*** dongfeng has joined #openstack-tricircle11:27
*** dongfeng1 has joined #openstack-tricircle12:12
*** dongfeng has quit IRC12:15
*** dongfeng1 has quit IRC12:28
*** catintheroof has joined #openstack-tricircle12:35
*** dongfeng1 has joined #openstack-tricircle12:50
*** dongfeng1 has quit IRC13:02
*** dongfeng1 has joined #openstack-tricircle13:15
*** Yipei_ has quit IRC13:18
*** dongfeng1 has quit IRC14:01
*** dongfeng1 has joined #openstack-tricircle14:25
*** catintheroof has quit IRC21:53
*** catintheroof has joined #openstack-tricircle23:13

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!