I am trying netmiko send.command with two variable

how do i do that

this is a example of one variable =>

connection.send_command('openstack network show {0} --fit | grep physical_network'.format(netnm),  expect_string=r"#")

i need this to make work ==>

connection.send_command("openstack network show grep {} --fit | grep 'provider:segmentation_id\|provider:physical_network'".format((netnm,netno)),  expect_string=r"#")
0

There are 0 best solutions below