code: def create_record_srv(self, zone_id, record, data, protocol, port, service,
                            ttl=60, priority=20, weight=10):
          
          resource_record = self._generate_create_dict(record, 'SRV', data, ttl, domainId=zone_id,
                                                       priority=priority, protocol=protocol, port=port,
                                                       service=service, weight=weight)
  
          # The createObject won't creates SRV records unless we send the following complexType.
          resource_record['complexType'] = 'SoftLayer_Dns_Domain_ResourceRecord_SrvType'
  
          return self.record.createObject(resource_record)
docs: Create a resource record on a domain.
  
          :param integer id: the zone's ID
          :param record: the name of the record to add
          :param data: the record's value
          :param string protocol: the protocol of the service, usually either TCP or UDP.
          :param integer port: the TCP or UDP port on which the service is to be found.
          :param string service: the symbolic name of the desired service.
          :param integer ttl: the TTL or time-to-live value (default: 60)
          :param integer priority: the priority of the target host (default: 20)
          :param integer weight: relative weight for records with same priority (default: 10)