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 sys | |
from time import sleep | |
from collections import deque | |
from twisted.internet.defer import Deferred | |
# from twisted.python import log | |
# log.startLogging(sys.stdout, setStdout=False) | |
from trigger.netdevices import NetDevices, NetDevice |
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 sys | |
from twisted.python import log | |
from time import sleep | |
log.startLogging(sys.stdout, setStdout=False) | |
from trigger.netdevices import NetDevices, NetDevice | |
nd = NetDevices() |
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
# -*- coding: utf-8 -*- | |
""" | |
The heart and soul of Trigger, NetDevices is an abstract interface to network | |
device metadata and ACL associations. | |
Parses :setting:`NETDEVICES_SOURCE` and makes available a dictionary of | |
`~trigger.netdevices.NetDevice` objects, which is keyed by the FQDN of every | |
network device. |
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
# -*- coding: utf-8 -*- | |
""" | |
The heart and soul of Trigger, NetDevices is an abstract interface to network | |
device metadata and ACL associations. | |
Parses :setting:`NETDEVICES_SOURCE` and makes available a dictionary of | |
`~trigger.netdevices.NetDevice` objects, which is keyed by the FQDN of every | |
network device. |
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 sys | |
from twisted.python import log | |
from time import sleep | |
log.startLogging(sys.stdout, setStdout=False) | |
from trigger.netdevices import NetDevices, NetDevice | |
nd = NetDevices() |
This file has been truncated, but you can view the full 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
Sending build context to Docker daemon 529.4 kB Sending build context to Docker daemon 1.06 MB Sending build context to Docker daemon 1.606 MB Sending build context to Docker daemon 2.163 MB Sending build context to Docker daemon 2.72 MB Sending build context to Docker daemon 3.245 MB Sending build context to Docker daemon 3.797 MB Sending build context to Docker daemon 4.325 MB Sending build context to Docker daemon 4.85 MB Sending build context to Docker daemon 5.378 MB Sending build context to Docker daemon 5.903 MB Sending build context to Docker daemon 6.438 MB Sending build context to Docker daemon 6.98 MB Sending build context to Docker daemon 7.198 MB Sending build context to Docker daemon 7.198 MB | |
Step 1 : FROM ubuntu:14.04 | |
---> 001d664e2dd4 | |
Step 2 : MAINTAINER thomas cuthbert | |
---> Using cache | |
---> 29f82101cce0 | |
Step 3 : RUN apt-get update -y && apt-get install -y redis-server libpq-dev python-dev python-setuptools build-essential git | |
---> Using cache | |
---> ac73cdfbff1d | |
Step 4 : |
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 time | |
import sys | |
from trigger.netdevices import NetDevices | |
from twisted.python import log | |
nd = NetDevices() | |
dev = nd.find('r1.demo.local') |
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
import sys | |
from datetime import datetime | |
import time | |
from pprint import pprint | |
from trigger.cmds import Commando | |
from twisted.python import log | |
from twisted.internet import reactor | |
from trigger.netdevices import NetDevices, NetDevice | |
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
import sys | |
from datetime import datetime, time | |
from pprint import pprint | |
from trigger.cmds import Commando | |
from twisted.python import log | |
from twisted.internet import reactor | |
from trigger.netdevices import NetDevices, NetDevice | |
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
# -*- coding: utf-8 -*- | |
""" | |
The heart and soul of Trigger, NetDevices is an abstract interface to network | |
device metadata and ACL associations. | |
Parses :setting:`NETDEVICES_SOURCE` and makes available a dictionary of | |
`~trigger.netdevices.NetDevice` objects, which is keyed by the FQDN of every | |
network device. |