A Self-Adaptive Approach for Fine-grained Network Operation and Management in Software Defined Networks