The basic policy to govern address assignment to CPs.
Definition
Code Block | ||
---|---|---|
| ||
policy_types:
onap.policy.AddressAssignment:
description: governs address assignment to CPs
derived_from: tosca.policies.Root
properties:
automatic_assignment:
type: boolean
required: false
address_type:
type: string
required: false
constraints:
- valid_values: [IPv4, IPv6, Mac]
# create derived types to carry extra info, like is_floating_ip, pool size/id, etc.
|