Use LXC to install application on a switch

Hello,
I am really interesting of programable network components.
Does LXC use to write code and equip this code e.g. inside the switch?
Am I in the right direction?
I need help and guid to start.

Thank you so much.