X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=network%2Fports%2Fstorage_v6.yaml;h=c7d47c54f1818880b6d24dc315f3c1c6144b2c60;hb=efad331d0ddae9355c1e129db1d371c86bc85626;hp=13b6227683642b28ef418b6bc7d113c782f805a8;hpb=424df742367103271ee2f7d6fe4936bdf3b99827;p=apex-tripleo-heat-templates.git diff --git a/network/ports/storage_v6.yaml b/network/ports/storage_v6.yaml index 13b62276..c7d47c54 100644 --- a/network/ports/storage_v6.yaml +++ b/network/ports/storage_v6.yaml @@ -1,11 +1,11 @@ -heat_template_version: 2015-04-30 +heat_template_version: pike description: > Creates a port on the storage network. parameters: StorageNetName: - description: Name of the storage neutron network + description: The name of the storage network. default: storage type: string PortName: @@ -52,12 +52,10 @@ outputs: - {get_attr: [StoragePort, fixed_ips, 0, ip_address]} - ']' ip_subnet: - # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?) description: IP/Subnet CIDR for the storage network IP value: list_join: - '' - - {get_attr: [StoragePort, fixed_ips, 0, ip_address]} - '/' - - {get_attr: [StoragePort, subnets, 0, cidr, -2]} - - {get_attr: [StoragePort, subnets, 0, cidr, -1]} + - {str_split: ['/', {get_attr: [StoragePort, subnets, 0, cidr]}, 1]}