Skip to content

Commit

Permalink
add the other select 1
Browse files Browse the repository at this point in the history
  • Loading branch information
daikk115 committed Aug 5, 2016
1 parent 16aa7dc commit 2c7dfe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ select all Interface with special columns : http://www.jsoneditoronline.org/?id=

select an Interface with its uuid and special columns : http://jsoneditoronline.org/?id=2b5c51715a02acd02abd3524ade2c44a

select some Interfaces with more than one condition (the other 1): [{"rows":[{"_uuid":["uuid","30f6de34-f777-4ae3-983d-74cb7d3e63d9"]},{"_uuid":["uuid","070eadf1-0abc-4592-a260-8b29744b8407"]}]}]

update an Interface with columns can be able to edit: [{"count":1}]

3 changes: 3 additions & 0 deletions the_other_select_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

ovsdb-client -v transact '["Open_vSwitch", {"op" : "select", "table" : "Interface", "where": [["admin_state", "!=", "down"], ["mtu", "==", 1500]], "columns": ["_uuid"]}]'

0 comments on commit 2c7dfe8

Please sign in to comment.