Inventory field verification for GPU and core

Added:
    - Fix as per coding guideline.
    - Add GPU and core field verification.
    - Enhance validation keyword to accept object types.

Change-Id: I0dbe2b4f2ccfbd935f8633e7e824d170332e4059
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed