Software-defined communication infrastructure