Skip to content

Instantly share code, notes, and snippets.


OnNet onnet

View GitHub Profile
#!/usr/bin/env python
import pika
import json
import requests
connection = pika.BlockingConnection(pika.ConnectionParameters(host=''))
channel =
channel.exchange_declare(exchange='zbrt', exchange_type='topic')
result = channel.queue_declare(queue='', exclusive=True)
onnet /
Created Apr 8, 2018 — forked from glinton/
SmartOS zone manipulation. Snapshot, image, rollback, and migrate.

SmartOS Zone Manipulation

Notes on snapshots, images, and migrations

Create Zone/KVM

# Create zone
vmadm create <<EOL
 "brand": "joyent",