Text this: Functional composition in software-defined network based on atomic capacity