On April 17, 2014 at 2:31:38 AM, Pritam Kharat ([email protected]) 
wrote:
> Hi All,
>  
> I wanted to make 'admin_state' field in Interface table 'up'/'down' using
> ovs-vsctl but
> when I tried the command
>  
> ovs-vsctl --db tcp:127.0.0.1:6622 set Interface tap1 admin_state='down'
>  
> the admin_state field was not updated to 'down' and also the interface was
> being listed when I did 'ifconfig'.
> If we do 'ifconfig tap1 down' then the admin_state filed is updated to
> 'down', but I want to achieve this from remote machine using ovs-vsctl( or
> any other ovsdb tool) and the corresponding interface should also go down.
>  
> Please tell me, is this possible and if yes,how to do this..??

I don't think you can do this from OVSDB/ovs-vsctl.  The column you're looking 
at is a read-only, status column.  You can control the admin state through 
OpenFlow/ovs-ofctl; take a look at the "ovs-ofctl mod-port" command.

--Justin



_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to