This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -u "admin:admin" localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:222845516597578/table/0/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run on the karaf terminal | |
# dlux(=web ui) is installed automaticaly | |
feature:install odl-openflowplugin-all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start on stopped rc RUNLEVEL=[2345] | |
stop on runlevel [!2345] | |
respawn | |
exec /sbin/getty -L 115200 ttyS0 vt102 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*nat | |
:PREROUTING ACCEPT [1:60] | |
:INPUT ACCEPT [1:60] | |
:OUTPUT ACCEPT [8:635] | |
:POSTROUTING ACCEPT [8:635] | |
-A PREROUTING -p tcp --dport 10022 -d 192.168.0.100 -j DNAT --to-destination 192.168.0.142:22 | |
-A POSTROUTING -j MASQUERADE | |
COMMIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service ntp stop | |
sudo ntpdate -s time.nist.gov | |
sudo service ntp start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ELEMENT_PATH=/path/to/my/elements | |
disk-image-create vm ubuntu my-elements1 my-elements2 -a amd64 -o /path/to/new/image/file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"trust": { | |
"trustor_user_id": "e27045815a9a43c0a3d265096d3692c7", | |
"trustee_user_id": "8fd0d068b0474400a931715618e66d5b", | |
"roles": [ | |
{ | |
"name": "_member_" | |
} | |
], | |
"project_id": "63010cfdcdb540aeb15ecd4f2efa1a8e", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
from novaclient import client as nclient | |
def get_nova_client(): | |
auth_url = os.environ['OS_AUTH_URL'] | |
tenant = os.environ['OS_TENANT_NAME'] | |
username = os.environ['OS_USERNAME'] | |
password = os.environ['OS_PASSWORD'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
from novaclient import client as nclient | |
def get_nova_client(): | |
auth_url = os.environ['OS_AUTH_URL'] | |
tenant = os.environ['OS_TENANT_NAME'] | |
username = os.environ['OS_USERNAME'] | |
password = os.environ['OS_PASSWORD'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tshark -i eth0 -w eth0.pcap -f port 8080 |