Displaying 2 results from an estimated 2 matches for "num_hosts".
Did you mean:
num_hints
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...ssert assigns(:host).valid?
end
- def test_new
- get :new, :hardware_pool_id => pools(:default).id
-
- assert_response :redirect
- assert_redirected_to :controller => 'hardware', :action => 'show', :id => pools(:default).id
- end
-
- def test_create
- num_hosts = Host.count
-
- post :create, :host => {}
-
- assert_response :redirect
- assert_redirected_to :controller => 'dashboard'
-
- assert_equal num_hosts, Host.count
- end
-
- def test_edit
- get :edit, :id => @host_id
-
- assert_response :redirect
- assert_redir...
2004 Jul 30
3
notes&questions: filter, HTB, hfsc & tc binary,ifs tx ques
...u32 can''t do it?);
else is done with HTB and u32.
Each host has its own (including the router- mentioned above) HTB parent
class where fw filter puts flow,
in that class are attached interactive prio and bulk subclasses
and filters, for example:
tcaddcls parent 1:1 htb rate $(($UPLOAD/$NUM_HOSTS)) ceil $NUM_HOSTS prio
0
tcfltadd parent 1:${parent_id} prio 2 u32 \
match ip protocol 6 0xff \
match u8 0x05 0x0f at 0 \
match u16 0x0000 0xffc0 at 2 \
match u8 0x11 0xff at 33 \
flowid 1:${CL_ID}
and it works great!!! .debs for buddys created...