Instantly share code, notes, and snippets.

View x1c pub key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCozwlzKqO1DB8Kjk0UwFutImiP0F2Jp082vd9UECRBEpGDk/egH25NhwdMBqEnG+VHmiB3KkR174oyomW2qcMxE45gx0nDfsaxuA0uT+s2YlvHAP09HRmHjlzEmtTtsUnAxmYkPZnzo74jcJE6fdszXOfOm+YvXfHdEU3JXS7U6C7giBZ1ThFExwRtlAYm9QZa3Uqe/xSl0p3T/BvvD3KimZlCI0iDHIHwSbm04KHjHrVnoG3jWMRZFHylnHzFbSihHIAK5xRhMw84+AicSf9h5mVNZGokby88qI6HDKJBqz4EK+PPnOMEGZw24vigtPucKju4znD2H7txwvZBosZb lance@x1c
View policies.yaml
# cinder
"volume:create_volume_metadata": "rule:admin_or_owner"
"volume:delete_snapshot_metadata": "rule:admin_or_owner"
"backup:export-import": "rule:admin_api"
"volume:failover_host": "rule:admin_api"
"volume_extension:capabilities": "rule:admin_api"
"context_is_admin": "role:admin"
"volume_extension:volume_admin_actions:force_detach": "rule:admin_api"
"volume_extension:types_extra_specs:delete": "rule:admin_api"
"backup:delete": "rule:admin_or_owner"
#!/usr/bin/env python3
import argparse
parser = argparse.ArgumentParser()
help=('User survey results as a file with each line being a list of '
'responses per user.')
from oslo_limit import limit
def create_server(self, context, server):
claim_quantity = server.get('cores')
claim = limit.ProjectClaim('cores', context.project_id, quantity=claim_quantity)
# Verification after executing the claim is the default behavior, but calling it out
# explicitly here for the sake of the example.
with limit.Enforcer(claim, callback=self.calculate_cores_for_project, verify=True) as enforcer:
View bgmccollum-directions
# Decide a Range of IP Address Your Router Will Manage, and a Range of IP Address Neutron Will Manage
# Adjust To Accomodate For Any Static Assignments (Such as for Your Router)
# Ensure These IP Address Ranges, and Any Static Assignments Do Not Overlap
# For Example:
# Home Network Subnet:
# Router Static:
# Laptop Static:
# OSA-AIO Static:
View interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0

Edge Computing Meeting

Date: 2018-06-05 9:00


  • Would like to start with OPNFV use cases
  • Testing
    • Multiple labs located globally that can be used for test resources
    • OPNFV can help give us hardware to test on
from oslo_limit import limit
LIMIT_ENFORCER = limit.Enforcer()
def create_foobar(self, context, foobar):
# check if project is over the limit prior to creating the resource
claim = 1
resource_name = 'foobars'
View interfaces
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual