Skip to content

Instantly share code, notes, and snippets.

Avatar

OnNet onnet

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

SmartOS Zone Manipulation

Notes on snapshots, images, and migrations

Create Zone/KVM

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