datacenter / aci Goto Github PK
View Code? Open in Web Editor NEWCisco Application Centric Infrastructure SDKs and Code Samples
Cisco Application Centric Infrastructure SDKs and Code Samples
The support e-mail alias in the Readme bounces for people external to Cisco and should be updated.
If the tag:
<imdata totalCout=1>
is included in the input dataset arya outputs:
imdata = cobra.model.im.data(topMo, totalCount='1')
im.data is not a valid package.class. The im.data tag should be ignored/filtered on input.
Cannot import arya on Ubuntu 12.04 after clean install
kecorbin@ubuntu01:~/ACI/arya$ sudo python setup.py install
running install
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing arya.egg-info/PKG-INFO
writing top-level names to arya.egg-info/top_level.txt
writing dependency_links to arya.egg-info/dependency_links.txt
reading manifest file 'arya.egg-info/SOURCES.txt'
writing manifest file 'arya.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/arya
copying build/lib.linux-x86_64-2.7/arya/init.py -> build/bdist.linux-x86_64/egg/arya
copying build/lib.linux-x86_64-2.7/arya/version.py -> build/bdist.linux-x86_64/egg/arya
byte-compiling build/bdist.linux-x86_64/egg/arya/init.py to init.pyc
byte-compiling build/bdist.linux-x86_64/egg/arya/version.py to version.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/arya.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/getconfigfromapic.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/arya.py to 775
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/getconfigfromapic.py to 775
copying arya.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying arya.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying arya.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying arya.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying arya.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/arya-1.0.1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing arya-1.0.1-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/arya-1.0.1-py2.7.egg
Extracting arya-1.0.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding arya 1.0.1 to easy-install.pth file
Installing arya.py script to /usr/local/bin
Installing getconfigfromapic.py script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/arya-1.0.1-py2.7.egg
Processing dependencies for arya==1.0.1
Finished processing dependencies for arya==1.0.1
kecorbin@ubuntu01:~/ACI/arya$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import arya
dir(arya)
['builtins', 'doc', 'file', 'name', 'package', 'path']
it throws an exception because of DSCP?
In the configure_interface_pc_and_vpc the Interface selector name is derived from the switch_profile.
infra_accportp = AccPortP(infra, switch_profile + '_ifselector')
This should not be the case since we are passing the ifselector name to the function:
def configure_interface_pc_and_vpc(infra, switch_profile, switches, interface_type, ports, selector, policy_group)
In my implementation I changed all occurrences of switch_profile + '_ifselector' with selector and all seems to be working fine.
This may not be an issue so much as my understanding. I am looking to use the yaml file format as a way to create cookie cutters for new client builds. Lots of stuff gets included by default which I'm adding but how do I get BGP peers and related L3 Outside settings? It seems like the "Logical Node Profile" and "Logical Interface Profile" example yaml files contain very generic settings. Thanks for posting this. I think it will become very helpful.
Arya is a standalone application that can be imported as a module. It should be its own repository on github and published to pypi.
For example:
-s, --stdin Parse input from stdin, for use as a filter, e.g., cat
doc.xml | /Library/Frameworks/Python.framework/Version
s/2.7/lib/python2.7/site-packages/arya-1.1.0-py2.7.egg
/EGG-INFO/scripts/arya.py -s
Argparser input currently has a password parameter, but no admin parameter. Add one to specify username and default to admin
If status=deleted is included in the attribute string, a status="deleted" attribute is set on the object. This is not honored by cobra. Instead, the code should generate a .delete() call
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.