On Tue, 10 Oct 2017, Ramu, MohanX wrote:
Please let me know, what is the main purpose of Custom Traits, can we use for assigning some value to traits. If yes, how?
You can't assign a value to a trait. The trait is the value. You're
assigning the trait to a resource provider. If it is a custom trait,
you may need to create it first.
You can think of traits like a tag: it describes a qualitative
aspect of the resource provider it is associated with. So while a
disk can have 2000 GB, it either is or is not an SSD.
If you haven't had a chance to read
that may be of some help.
So, with custom traits, the idea is that there is some qualitative
"trait" that is specific ("custom") to your environment. One of the
ways this been discussed as being useful is associating a NIC to a
physical network: CUSTOM_PHYSNET1
For more on that see this spec that is under consideration:
it plans to make extensive use of custom traits.
Chris Dent (⊙＿⊙') https://anticdent.org/
freenode: cdent tw: @anticdent_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : firstname.lastname@example.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack