Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- "Open_vSwitch",
- {
- "rows": [
- {
- "bridges": [
- "uuid",
- "e27b52ca-e1de-4cb0-a910-ee42e38cda92"
- ]
- }
- ],
- "until": "==",
- "where": [
- [
- "_uuid",
- "==",
- [
- "uuid",
- "2cfdf9dd-e2a3-46b9-b09d-fbc68f23bc5d"
- ]
- ]
- ],
- "timeout": 0,
- "op": "wait",
- "table": "Open_vSwitch",
- "columns": [
- "bridges"
- ]
- },
- {
- "rows": [
- {
- "interfaces": [
- "uuid",
- "846a45de-1c8b-48dc-ad9b-189368e1bd32"
- ]
- }
- ],
- "until": "==",
- "where": [
- [
- "_uuid",
- "==",
- [
- "uuid",
- "4f160ba2-dad5-4b1a-bc07-7a4b6d617a49"
- ]
- ]
- ],
- "timeout": 0,
- "op": "wait",
- "table": "Port",
- "columns": [
- "interfaces"
- ]
- },
- {
- "rows": [
- {
- "interfaces": [
- "uuid",
- "97056e7f-59ab-47c0-8139-ace0db3a8460"
- ]
- }
- ],
- "until": "==",
- "where": [
- [
- "_uuid",
- "==",
- [
- "uuid",
- "8f0c035e-6ade-4610-9d4a-bb5cc4fde546"
- ]
- ]
- ],
- "timeout": 0,
- "op": "wait",
- "table": "Port",
- "columns": [
- "interfaces"
- ]
- },
- {
- "rows": [
- {
- "ports": [
- "set",
- [
- [
- "uuid",
- "4f160ba2-dad5-4b1a-bc07-7a4b6d617a49"
- ],
- [
- "uuid",
- "8f0c035e-6ade-4610-9d4a-bb5cc4fde546"
- ]
- ]
- ]
- }
- ],
- "until": "==",
- "where": [
- [
- "_uuid",
- "==",
- [
- "uuid",
- "e27b52ca-e1de-4cb0-a910-ee42e38cda92"
- ]
- ]
- ],
- "timeout": 0,
- "op": "wait",
- "table": "Bridge",
- "columns": [
- "ports"
- ]
- },
- {
- "uuid-name": "row8145a275_9236_4744_96ed_d4556d371066",
- "op": "insert",
- "table": "Port",
- "row": {
- "interfaces": [
- "named-uuid",
- "row15e0a7a2_4760_462d_be13_6719175896a0"
- ],
- "name": "br1"
- }
- },
- {
- "where": [
- [
- "_uuid",
- "==",
- [
- "uuid",
- "2cfdf9dd-e2a3-46b9-b09d-fbc68f23bc5d"
- ]
- ]
- ],
- "op": "update",
- "table": "Open_vSwitch",
- "row": {
- "bridges": [
- "set",
- [
- [
- "named-uuid",
- "rowb5c5e4a3_0803_442a_b2dc_3ecd10c3f218"
- ],
- [
- "uuid",
- "e27b52ca-e1de-4cb0-a910-ee42e38cda92"
- ]
- ]
- ]
- }
- },
- {
- "uuid-name": "row15e0a7a2_4760_462d_be13_6719175896a0",
- "op": "insert",
- "table": "Interface",
- "row": {
- "name": "br1",
- "type": "internal"
- }
- },
- {
- "uuid-name": "rowb5c5e4a3_0803_442a_b2dc_3ecd10c3f218",
- "op": "insert",
- "table": "Bridge",
- "row": {
- "name": "br1",
- "ports": [
- "named-uuid",
- "row8145a275_9236_4744_96ed_d4556d371066"
- ]
- }
- },
- {
- "mutations": [
- [
- "next_cfg",
- "+=",
- 1
- ]
- ],
- "where": [
- [
- "_uuid",
- "==",
- [
- "uuid",
- "2cfdf9dd-e2a3-46b9-b09d-fbc68f23bc5d"
- ]
- ]
- ],
- "op": "mutate",
- "table": "Open_vSwitch"
- },
- {
- "where": [
- [
- "_uuid",
- "==",
- [
- "uuid",
- "2cfdf9dd-e2a3-46b9-b09d-fbc68f23bc5d"
- ]
- ]
- ],
- "op": "select",
- "table": "Open_vSwitch",
- "columns": [
- "next_cfg"
- ]
- },
- {
- "comment": "ovs-vsctl: ovs-vsctl -vjsonrpc --db=tcp:172.16.58.170:6634 add-br br1",
- "op": "comment"
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment