@ Slawek Kaplonski
I also have another question about the name of "_set_egress_bw_limit_for_port",
while the method is for "ingress_policing", why its name is "egress"?
thanks a lot.
def _set_egress_bw_limit_for_port(self, port_name, max_kbps, max_burst_kbps):
with self.ovsdb.transaction(check_error=True) as txn: txn.add(self.ovsdb.db_set('Interface', port_name, ('ingress_policing_rate', max_kbps))) txn.add(self.ovsdb.db_set('Interface', port_name, ('ingress_policing_burst', max_burst_kbps)))
@ Slawek Kaplonski bw_limit_ for_port" ,
I also have another question about the name of "_set_egress_
while the method is for "ingress_policing", why its name is "egress"?
thanks a lot.
def _set_egress_ bw_limit_ for_port( self, port_name, max_kbps,
max_ burst_kbps) : transaction( check_error= True) as txn:
txn. add(self. ovsdb.db_ set('Interface' , port_name,
('ingress_ policing_ rate', max_kbps)))
txn. add(self. ovsdb.db_ set('Interface' , port_name,
('ingress_ policing_ burst',
max_ burst_kbps) ))
with self.ovsdb.