Closed ljerezchaves closed 9 years ago
Original comment by Luciano Chaves (Bitbucket: ljerezchaves, GitHub: ljerezchaves)
Feito. Commit [d26e432656a8]
Original comment by Luciano Chaves (Bitbucket: ljerezchaves, GitHub: ljerezchaves)
No geral, a estratégia é usar os campos das estruturas do ofsoftswitch13 para armazenar os timesteps do tempo de simulação. Nos momentos adequados esses timesteps são convertidos em ns3::Time e comparados adequadamente.
Original comment by Luciano Chaves (Bitbucket: ljerezchaves, GitHub: ljerezchaves)
Foi necessário a reescrita de algumas funções de flow_entry e flow_table (todas relacionadas com criação e timeout).
Original comment by Luciano Chaves (Bitbucket: ljerezchaves, GitHub: ljerezchaves)
Em implementação, branch features/sim-time
Originally reported by Luciano Chaves (Bitbucket: ljerezchaves, GitHub: ljerezchaves)
Como o ofsoftswitch13 é implementado usando funções de tempo real do kernel, e o ns3 usa um tempo de simulação independente, não há compatibilidade nos campos "time" das estruturas. Isso impede, por exemplo, o timeout de regras nas tabelas. É preciso encontrar uma estratégia para solucionar este problema.