def getServiceType(self):
        if self.service_type is None:
            raise ValueError('NSA with identity %s is not constructed with a type' % self.identity)
        return self.service_type
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/nsa.py/NetworkServiceAgent.getServiceType/original