This command adds a provider to the physical network; an entry to physical_network_service_providers table. This just registers that the physical network will support this provider. For the actual implementation of the provider, you need to add a NetworkElement to components.xml and also add it to the com.cloud.network.Network.Provider list.
Thanks, Prachi -----Original Message----- From: Alex Huang [mailto:alex.hu...@citrix.com] Sent: Tuesday, May 08, 2012 1:57 PM To: cloudstack-dev@incubator.apache.org Subject: RE: How to add a PhysicalNetworkServiceProvider It really means add a network service provider to the physical network. It doesn't mean add a new implementation of network service provider. I felt the name was confusing as well but was told that's how we start any api where we create an instance. --Alex > -----Original Message----- > From: Frank Zhang [mailto:frank.zh...@citrix.com] > Sent: Tuesday, May 08, 2012 1:53 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: How to add a PhysicalNetworkServiceProvider > > Then what's AddNetworkServiceProviderCmd.java for? > > > -----Original Message----- > > From: Alex Huang [mailto:alex.hu...@citrix.com] > > Sent: Tuesday, May 08, 2012 1:44 PM > > To: cloudstack-dev@incubator.apache.org > > Subject: RE: How to add a PhysicalNetworkServiceProvider > > > > NetworkServiceProvider is not added through the UI. It's added > > through the components.xml as a NetworkElement. The names are > > confusing. We should change that interface name to > NetworkServiceProvider. > > > > --Alex > > > > > -----Original Message----- > > > From: Frank Zhang [mailto:frank.zh...@citrix.com] > > > Sent: Tuesday, May 08, 2012 1:42 PM > > > To: cloudstack-dev@incubator.apache.org > > > Subject: How to add a PhysicalNetworkServiceProvider > > > > > > I went through CloudStack UI there are three default > > > NetworkServiceProvider, but I didn't see any way to add a new provider. > > > Do we support that? Or we only allow API to add it?