An Architecture for Autonomic Networks