Я скорее всего разобрался (на днях отвечал в английском форуме). Мне удалось повторить у себя эту ситуацию и исправить. В 2.2.8 должно работать.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
import csv, sys
w = csv.writer(sys.stdout, dialect='excel')
w.writerow(['name', 'ip', 'type']) # Header
for node in [o for o in s.getAllObjects() if isinstance(o, objects.Node)]:
enabled = node.getCustomAttributes().get("RANCID_ENABLED")
if enabled != None and int(enabled) == 1:
w.writerow([
node.getObjectName(),
node.getPrimaryIP().getHostAddress(),
node.getCustomAttributes().get("RANCID_TYPE")
])