PartialGenerator owns one part of a device configuration. acl_VENDOR describes that part with command patterns nested like the device CLI. If generated output does not fit this hierarchy, Annet raises AclError. self.block() places generated commands at the required nesting level. The lesson uses the Arista leaf-1a, so Annet calls run_arista and acl_arista.