'Return a dict with extra specs and/or config values.'

def _get_specs(self, xspecs):

    result = {}
    for spc in ZFSSA_LUN_SPECS:
        val = None
        prop = spc.split(':')[1]
        cfg = ('zfssa_lun_' + prop)
        if xspecs:
            val = xspecs.pop(spc, None)
        if (val is None):
            val = self.configuration.safe_get(cfg)
        if ((val is not None) and (val != '')):
            result.update({prop: val})
    return result
