def save(self, filename=None):
        filename = Path(filename) if filename is not None else self.filename
        with filename.open("w") as f:
            f.write(self.yaml)
def add_vpp_config(self):
        self._test.vapi.ip_punt_police(policer_index=self._policer_index,
                                       is_ip6=self._is_ip6, is_add=True)