(self)
| 187 | self.update_ports() |
| 188 | |
| 189 | def encode(self): |
| 190 | return { |
| 191 | "is_permit": self.is_permit, |
| 192 | "proto": self.proto, |
| 193 | "srcport_or_icmptype_first": self.sport_from, |
| 194 | "srcport_or_icmptype_last": self.sport_to, |
| 195 | "src_prefix": self.src_prefix, |
| 196 | "dstport_or_icmpcode_first": self.dport_from, |
| 197 | "dstport_or_icmpcode_last": self.dport_to, |
| 198 | "dst_prefix": self.dst_prefix, |
| 199 | } |
| 200 | |
| 201 | |
| 202 | class VppAcl(VppObject): |
no outgoing calls