Remote OVS query
We use OVS in Linux and some white box switches that are controlled by our controller. I installed OVS-for-Hyper-v and was able to attach to the controller, and the controller could see the switch:
C:>ovs-vsctl show
9ff8ebf7-5c0f-4983-897f-48dd9590ae38
Manager "ptcp:6640"
Bridge "br0"
Controller "tcp:10.0.6.40:6653"
**is_connected: true**
fail_mode: secure
Port external
Interface external
Port "br0"
Interface "br0"
type: internal
I can query the database locally:
C:>ovs-vsctl list port
_uuid : aea852cd-32b6-4d3b-83b4-147249295cfb
bondactiveslave : [] bonddowndelay : 0 bondfakeiface : false bondmode : [] bondupdelay : 0 externalids : {} fakebridge : false interfaces : [9443c892-5adc-4edb-861b-6205d99e6840] lacp : [] mac : [] name : external otherconfig : {} qos : [] rstpstatistics : {} rstpstatus : {} statistics : {} status : {} tag : [] trunks : [] vlan_mode : []
uuid : e39d9bda-d20d-40ec-96a8-fab9c14d4041 bondactiveslave : [] bonddowndelay : 0 bondfakeiface : false bondmode : [] bondupdelay : 0 externalids : {} fakebridge : false interfaces : [adb19ce2-5c60-42e5-97cb-1c29cf3df22f] lacp : [] mac : [] name : "br0" otherconfig : {} qos : [] rstpstatistics : {} rstpstatus : {} statistics : {} status : {} tag : [] trunks : [] vlanmode : []
But if I try that remotely using the "ovs-vsctl --db=tcp:10.0.6.114:6640 list port" ,the connection says it is getting refused. I disabled the windows firewall, so that should not be the issue.
Any ideas on what I am doing wrong?
Thanks
Figured it out. Had to make a registry change to add the --remote=pctp:6640 to allow access under ovs-vswitchd --> Imagepath