def get_interfaces_counters(self):
query = junos_views.junos_iface_counter_table(self.device)<EOL>query.get()<EOL>interface_counters = {}<EOL>for interface, counters in query.items():<EOL><INDENT>interface_counters[interface] = {k: v if v is not None else -<NUM_LIT:1> for k, v in counters}<EOL><DEDENT>return interface_counters<EOL>
Return interfaces counters.