19:12:15 #startmeeting openstackclient 19:12:16 Meeting started Thu Nov 10 19:12:15 2016 UTC and is due to finish in 60 minutes. The chair is dtroyer. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:12:18 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 19:12:20 The meeting name has been set to 'openstackclient' 19:12:28 Logs are Good(TM) 19:12:33 ankur-gupta-f: ok, what's up? 19:12:37 https://review.openstack.org/#/c/385729/ 19:12:53 lets get this command resolved since DHCP to Network would be done the same way 19:13:04 agents list --routers is confusing 19:13:18 was considering agents show --routers 19:13:49 first off, what resource do you want to appear in the list output? 19:14:46 agents list --routers would return a list of routers. But the command requires the agent (name or ID) 19:14:52 no 19:15:04 'routers list ' is how you get a list of routers 19:15:14 if you want to filter that list, add options 19:15:20 such as —agent 19:16:24 okay. But the endpoint is still v2/agents/ . 19:16:41 we do not car about that at the CLI 19:16:45 So we don't care about the background logic, just what is easiest to understand for an end user 19:16:51 exactly 19:17:17 makes perfect sense. Okay will pass that info to Shashank who is running the dchp agent/network commands 19:17:25 cool 19:17:28 now also Meter Label Rule 19:17:34 you want to get rid of Label 19:17:41 just call it Meter and Meter Rule 19:17:49 I don't know enough about those to know if that is reasonable 19:18:01 armax: are you still around to provide input? 19:18:19 but it didn't make sense to me to be adding rules to a lable (just at a conceptual level) 19:19:00 It sounds reasonable to me. But should grab the input of someone more experience in the network domain 19:19:15 so basically, is 'network meter' a different thing than 'network meter label'? 19:20:17 Dont think it would be an issue 19:20:31 ok 19:21:01 final one. and this one is a weird one... Auto Allocated Topology 19:21:11 https://review.openstack.org/#/c/391331/ 19:21:57 you are right. saying "openstack network auto allocated topology show" sounds clumsy 19:22:04 that's an awkward name 19:22:17 the spec also refers to it as "Get me a network" 19:22:21 but thats not good either 19:22:27 is 'network topology' something else in Neutron? 19:22:36 yes 19:23:02 ok. I'd like to hear what the developers had in mind for the users to think about with this. 19:23:17 it looks like a resource with CRUD operations, is there more? 19:24:34 walking through the workflow that a user is expected to follow can be helpful in sorting out things like this 19:25:30 also, 'network topology' is not already used in OSC, will it be in the future (apart from the auto-allocated case)? 19:25:38 it is in progress 19:26:00 https://review.openstack.org/#/c/358456/ 19:26:01 then 'auto-allocated' sounds like a special case of that 19:26:04 is network topology related to routed networks in neutron? 19:27:29 "**network topology** displays the virtual network topology. 19:27:29 It collects data from existing REST APIs. This data includes the 19:27:29 count of routers, dhcp agents and instances which connect to every 19:27:29 network. It also gets more details about devices which connect to 19:27:29 the specified network." 19:27:49 so that isn't an actual resource 19:29:08 yea im confused about the purpose of it 19:29:23 does OSC have a history of new commands that don't map directly to resources an API provides? 19:30:02 sc68cal: we do have some, and something like this is not out of like (see the upcoming project purge command) 19:30:19 ok, works for me then 19:30:24 but in this case it isn't particularly clear to me what this is doing 19:30:40 I also see that Armando has commented he doesn't see the use of the network topology command. 19:31:03 dtroyer: agree, at the very least it needs more clarity as to what it is doing 19:31:12 I would rather not take up the 'network topology' resource name for something that isn't a resource if it means we make the auto-allocated one longer/worse 19:31:26 network-visualize ? 19:31:38 err network visualize 19:31:49 I think armax's point is to get the base work done first, then come back to compound commands 19:31:57 sc68cal: yes, more along those lines 19:32:13 maybe with options to get more specific 19:32:56 sounds good to me 19:33:04 this is where losing Rich is going to slow things down, he was our Neutron knowledge base 19:33:34 i can pinch hit for him I guess 19:33:55 serious? that would be awesome 19:34:24 i'll add the repo to gertty and start lurking 19:34:45 +1 19:35:28 what is the final verdict on how to handle auto allocated topology, just shorten to network topology 19:36:03 ankur-gupta-f: that's my preference, if that makes sense 19:36:26 if there is more than one kind of topology, use options to specify type 19:36:39 makes sense. I will provide a bit extra information in the help texts so users aren't confused 19:36:57 anything else? 19:37:07 Tag extension 19:37:48 has already been implemented in neutronclient fully, but needs to be added as a plugin for osc into neutronclient. It seems repeated/redundant 19:38:05 http://docs.openstack.org/developer/neutron/devref/tag.html 19:39:13 I do have one question on network options: https://review.openstack.org/#/c/392457/ 19:39:55 —allowed-address-pair appears to have at most two components, and the mac address seems to be optional per the API spec 19:40:23 can anyone verify that is true? 19:40:48 * sc68cal takes a look 19:41:17 if so, I'd like to shorten the name and make the mac, and the labels optional: '—allowed address 1.2.3.4' and '—allowed-address ip-address=1.2.3.4' would be both accepted 19:41:30 in addition tot he current form 19:42:20 yeah it looks like ip_address is required, and mac is optional 19:43:08 and ip address can be an IP or a subnet/cidr 19:43:15 I thought about suggesting dnsmasq-style options, so an IP and a MAC would be usable without the labels: 1.2.3.4,aa:bb:cc:dd:ee:ff 19:43:41 not sure how that sits with folks, can come later 19:43:57 sc68cal: do you know how strict Neutron is on MAC formats? 19:44:15 specifically, using ':' or '-' separators, or no spearators at all? 19:44:29 I'll double check but I believe ":" 19:45:06 dtroyer: sc68cal: gotta head out. But thanks for the input 19:45:23 ok. I'll add a re-formatter to the wishlist, enough other things have different formats that it might be nice to be able to handle the output directly 19:45:31 ankur-gupta-f: thank you 19:46:14 dtroyer: looks like we call netaddr 's mac validator directly 19:46:40 * sc68cal sighs 19:46:41 https://netaddr.readthedocs.io/en/latest/api.html#mac-formatting-dialects 19:46:47 "The following dialects are used to specify the formatting of MAC addresses." 19:46:51 aaaaaand it's blank 19:47:06 nice :) 19:47:23 https://netaddr.readthedocs.io/en/latest/tutorial_02.html#formatting 19:47:29 so looks like it takes quite a few 19:47:45 * sc68cal forks netaddr to fix docs 19:48:00 good deal, I'll not worry about it in OSC then, thanks 19:48:13 we should doc that somewhere in OSC though… 19:48:16 * dtroyer makes that note 19:49:08 ok, anything else? 19:49:10 anyone else? 19:49:17 Buehler? 19:50:04 ok, I'll be quick and end now… 19:50:12 sc68cal: thanks for jumping in to our little fire 19:50:21 no prob 19:50:25 Need some reviews on my patches. 19:51:09 can you please review my client patch: https://review.openstack.org/#/c/387611/ 19:51:15 sshank: specifics? I've only gotten back to the queue in the last day or so since BCN…there are a few :) 19:51:28 and SDK: https://review.openstack.org/#/c/387602/ 19:51:35 Thanks! :) 19:52:17 I can look at the OSC one soon enough, but it can' be merged until the SDK change is released 19:52:37 dtroyer, Ok. 19:52:45 dtroyer, Thanks. 19:53:47 sshank: since you are here, let's talk about the resource names a bit 19:54:05 dtroyer, yes. Sure. 19:54:22 'network hosting dhcp-agents' 19:54:24 what is that? 19:55:17 dtroyer, I was thinking it will be equivalent to neutron client 'net-list-on-dhcp-agent' 19:55:43 forget about neutronclient equivalents 19:55:52 what is the 'thing' you are trying to list? 19:57:03 dtroyer, To list DHCP agents hosted on a network. 19:57:59 so 'dhcp agent list —netowrk ' maybe? 19:59:18 dtroyer, Ok. I'll make the change. 19:59:23 start with the resource that you want to list, then add the filters as options 19:59:38 same with the network agent dhcp hosted-networks 19:59:59 that seems like new filter options to network agent list 20:00:14 and we're out of time 20:00:34 sshank: if you want to keep talking about this, we're in #openstack-sdks 20:00:40 Thanks everyone 20:00:45 #endmeeting