ravening commented on pull request #4200: URL: https://github.com/apache/cloudstack/pull/4200#issuecomment-665579509
> @ravening when creating an offering in the domain admins domain, are those automatically visible in subdomains and in parent domain(-chain)? it will be visible only for that domain. > > > If an offering is created on a domain then all its child > > domains should see it and all the parents domain > > should see it as well but > > ... > > > isrecursive=true ensures that all child domains can see it > > but if a service offering is created for the domain at the leaf > > of the domain path then its parent cant see it if isrecurise > > is true. so we need to pass isrecursive=false so that the > > parent domain can see the child offerings > > this sounds contradictory. the isrecursive flag should have an intuitive meaning that is consistent for a 'leave' or a 'node' domain. So whether or not isrecursive is set should have the same consequences in bith domain types. > > Am I misunderstanding something? yeah the `isrecursive` kind of confusing sometimes. Lets say I have this domain relationship ROOT -> child1 -> child11 if I try to list offering for domain ROOT by passing `isrecursive=true` then i see all offerings of ROOT, child1 and child11. Same applies for child1 now if i try to list offerings for domain child11 by passing `isrecursive=true` then it wont list the offering belonging to parent domain `child1` even though it should be displayed if you dont pass `isrecursive=true` and try listing offerings for child11 then you will see all the parent domain offerings. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org