<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Added several more questions inline…<div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>PCM (Paul Michali)</div><div><br></div><div>MAIL <a href="mailto:pcm@cisco.com">pcm@cisco.com</a></div><div>IRC pcm_ (<a href="http://irc.freenode.net">irc.freenode.net</a>)</div><div>TW @pmichali</div></span>
</div>
<br><div><div>On Oct 11, 2013, at 3:28 PM, Paul Michali <<a href="mailto:pcm@cisco.com">pcm@cisco.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi folks,<div><br></div><div>I have a bunch of questions for you on VPNaaS in specific, and services in general...</div><div><br></div><div>Nachi,</div><div><br></div><div>1) You hd a bug fix to do service provider framework support for VPN (41827). It was held for Icehouse. Is that pretty much a working patch? </div><div>2) When are you planning on reopening the review?</div><div><br></div><div><br></div><div>Anyone,</div><div><br></div><div>I see that there is an agent.py file for VPN that has a main() and it starts up an L3 agent, specifying the VPNAgent class (in same file).</div><div><br></div><div>3) How does this file get invoked? IOW how does the main() get invoked?</div><div>4) I take it we can specify multiple device drivers in the config file for the agent?</div><div><br></div><div><br></div><div>Currently, for the reference device driver, the hierarchy is currently DeviceDriver [ABC] -> IPsecDriver [Swan based logic] -> OpenSwanDriver [one function, OpenSwan specific]. The ABC has a specific set of APIs. Wondering how to incorporate provider based device drivers.</div><div><br></div><div>5) Should I push up more general methods from IPsecDriver to DeviceDriver, so that they can be reused by other providers?</div><div>6) Should I push down the swan based methods from DeviceDriver to IPsecDriver and maybe name it SwanDeviceDriver?</div><div><br></div><div><br></div><div>I see that vpnaas.py is an extension for VPN that defines attributes and the base plugin functions.</div><div><br></div><div>7) If a provider as additional attributes (can't think of any yet), how can the attribute be extended, only for that provider (or is that the wrong way to handle this)?</div><div><br></div><div>For VPN, there are several attributes, each with varying ranges of values allowed. This is reflected in the CLI help messages, the database (e.g. enums), and is validated (some) in the client code and in the VPN service.</div><div><br></div><div>8) How do we provide different limits/allowed values for attributes, for a specific provider (e.g. let's say the provider supports or doesn't support an encryption method, or doesn't support IKE v1 or v2)?</div><div>9) Should the code be changed not to do any client validation, and to have generic help, so that different values could be provided, or is there a way to customize this based on provider?</div><div>10) If customized, is it possible to reflect the difference in allowed values in the help strings (and client validation)?</div><div>11) How do we handle the variation in the database (e.g. when enums specifying a fixed set of values)? Do we need to change the database to be more generic (strings and ints) or do we somehow extend the database?</div><div><br></div><div>I was wondering in general how providers can customize service features, based on their capabilities (better or worse than reference). I could create a Summit session topic on this, but wanted to know if this is something that has already been addressed or if a different architectural approach has already been defined.</div><div><br></div></div></blockquote><div><br></div>For the RPC, I see there is an IPSEC_DRIVER_TOPIC and IPSEC_AGENT_TOPIC, each of which gets the host appended to the end.</div><div><br></div><div>12) For a provider, I'm assuming I'd create a provider specific topic name?</div><div>13) Is there any convention to the naming of the topics? <svc>_<provider>_<type>.<host>?</div><div>14) Is it just be, or is it just a bit misleading with the agent topic name? Seems like the RPCs are all between the service and device drivers.</div><div><br></div><div>In Icehouse, we're talking about other protocols for VPN, like SSL-VPN, MPLS/BGP.</div><div><br></div><div>15) Has anyone thought about the class naming for the service/device drivers, and the RPC topics, or will it be a totally separate hierarchy?</div><div><br></div><div><br></div><div>On the underlying provider device, there could be a case where a mapping is needed. For example, the VPN connection UUID may need to be mapped to a Tunnel number.</div><div><br></div><div>16) Is there any precedence for persisting this type of information in OpenStack?</div><div>17) Would the device driver send that back up to the plugin, or is there some way to persist at the driver level?</div><div><br></div><div><br></div><div>I'm probably going to use a REST API in the device driver to talk to the provider process (in a VM).</div><div><br></div><div>18) Are there any libraries in Neutron for REST API client that I can use (versus rolling my own)?</div><div><br></div><div><br></div><div>Thanks!</div><div><br></div><div>PCM</div><div><br></div><div><br></div><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Regards,</div><div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>PCM (Paul Michali)</div><div><br></div><div>MAIL <a href="mailto:pcm@cisco.com">pcm@cisco.com</a></div><div>IRC pcm_ (<a href="http://irc.freenode.net/">irc.freenode.net</a>)</div><div>TW @pmichali</div></span>
</div>
<br></div></div></blockquote></div><br></div></body></html>