code: def build_acl_port(self, port, enabled=True):
          "Build the acl for L4 Ports. "
          if port is not None:
              if ':' in port:
                  range = port.replace(':', ' ')
                  acl = "range %(range)s " % {'range': range}
              else:
                  acl = "eq %(port)s " % {'port': port}
                  if not enabled:
                      acl += "inactive"
              return acf build_acl_port(self, port, enabled=True):
          "Build the acl for L4 Ports. "
          if port is not None:
              if ':' in port:
                  range = port.replace(':', ' ')
                  acl = "range %(range)s " % {'range': range}
              else:
                  acl = "eq %(port)s " % {'port': port}
                  if not enabled:
                      acl += "inactive"
              return acl
docs: Build the acl for L4 Ports.