From e16453569dc8e696b7217f40ac6e722a519272e2 Mon Sep 17 00:00:00 2001 From: ligc Date: Sun, 7 Jun 2015 22:12:10 -0400 Subject: [PATCH] add the xCAT Object Name Format section to describe the name format of the xCAT objects --- perl-xCAT/db2man | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/perl-xCAT/db2man b/perl-xCAT/db2man index 172763521..26b31c3bc 100755 --- a/perl-xCAT/db2man +++ b/perl-xCAT/db2man @@ -278,6 +278,36 @@ When using these commands, the object attributes will be stored in the same tabl the tables by hand. The only difference is that the object commands take care of knowing which tables all of the information should go in. +=head2 B: + +B is defined by the following regex: + + ^([A-Za-z-]+)([0-9]+)(([A-Za-z-]+[A-Za-z0-9-]*)*) + +In plain English, an object name is in B if starting from the begining there are: + +=over 2 + +=item * + +one or more alpha characters of any case and any number of "-" in any combination + +=item * + +followed by one or more numbers + +=item * + +then optionally followed by one alpha character of any case or "-" + +=item * + +followed by any combination of case mixed alphanumerics and "-" + +=back + +=head2 + To run man for any of the object definitions below, use section 7. For example: B The object types are: