Just to clarify, "sam" is a unique and separate tool compared to a CLI tool.
"sam" is comparable to other template based orchestration tools like heat in
openstack (https://wiki.openstack.org/wiki/Heat or its equivalent in AWS).
My thought on this is that "sam" could target real and repetitive deployments.
A CLI command set could be used for prototyping and reconfiguration of an
existing deployment.
---
** [tickets:#1218] Incorporate SAM command line tool into opensaf repository**
**Status:** accepted
**Milestone:** 5.0
**Labels:** command line tool easy integration for the new user
**Created:** Wed Nov 19, 2014 09:56 AM UTC by Mathi Naickan
**Last Updated:** Wed Nov 19, 2014 09:58 AM UTC
**Owner:** Mathi Naickan
HansFeldt had named and created the prototype for the 'SAM' tool under the
opensaf-tools repository within the project.
One functionality originally planned is available today as a prototype and it
helps the enduser with some simple commands to integrate an application to
OpenSAF.
SAM can be used in the bigger goal for OpenSAF to come up with a full fledged
CLI that would hide any strenous SAF terminology and provides a minimal set of
commands to configure, deploy and monitor their application in OpenSAF.
This ticket is a placeholder to move the SAM tool protoype from the
opensaf-tools repo to the opensaf main repo and to continue reusing and adding
stuff.
The opensaf-tools also contain the 'imm-om' python package which helps with a
lot of utility(IMM iterators, CCB helpers) for imm access.
For eg:- "
from pyosaf.immom import SearchIterator
for obj in SearchIterator():
print obj.dn
"
Example of how the subset CLI commands can be used are as below:
# create program/software related entities
./amf-cstype create demo1-svc ATTR1
./amf-cstype create demo2-svc ATTR2
./amf-comptype create --saaware --osaf-cmd /opt/amf_demo/amf_demo_script demo1
./amf-comptype create --saaware --osaf-cmd /opt/amf_demo/amf_demo_script demo2
./amf-comptype provides -c one-active-or-one-standby demo1 demo1-svc
./amf-comptype provides -c one-active-or-one-standby demo2 demo2-svc
# service composition
./amf-svctype create demo-svc
./amf-svctype provides demo-svc demo1-svc demo2-svc
# query
./amf-comptype list
./amf-comptype list demo1
./amf-cstype list
./amf-cstype list demo2-svc
./amf-svctype list
./amf-svctype list demo-svc
immfind | grep demo
# cleanup
./amf-svctype delete demo-svc
./amf-comptype delete demo1 demo2
./amf-cstype delete demo1-svc demo2-svc
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets