Overview
The network-element-name-generation (N-ENG) micro-service generates unique names for network elements, such as VNF, VM, VNFC etc., based on policies in the policy manager.
Names are generated based on policy names, which are collections of rules on how names are generated, by assembling various pieces of data. The policies can also have specifications to generate unique names based on sequences, timestamps or UUIDs. They also often contain rules on transforming data elements before assembly and/or after assembly, by operations such as:
- converting data to uppercase or lowercase
- taking a sub-string of certain length from a data element
This micro-service interprets such policy rules to generate names. The names generated by this micro-service are persisted in an internal database. The names are also validated for uniqueness against inventory systems (A&AI).
This micro-service follows REST style interface, with JSON as payload.
Architecture
The picture below shows a high level architecture of the N-ENG micro-service.