Smart Licensing using Policy on Catalyst Switching Platforms