I have a text file that looks like this
client interface: GigabitEthernet10/0/0.100 is up
active state: up
line state: up
vc state: down
...
colour: -
client interface: EthTrunk10.0.1 is up
active state: up
line state: up
vc state: down
...
colour: -
The list can go very long with around 5000-10000 lines of text
Any better idea to convert it to a table form like below?
Client Interface Active State Line State VC State ... Color
GigabitEthernet10/0/0.100 up up down -
EthTrunk10.0.1 up up down -
:for each column and value as like:column, value = line.split(':')except for interface name.