weizhouapache commented on PR #10222:
URL: https://github.com/apache/cloudstack/pull/10222#issuecomment-2605023259

   > I didn't understand the question @weizhouapache . When creating a shared 
network, we select the physical network to be used. If there's more than 1 
physical network fr guest traffic, we tag them.. based on the physical network 
chosen - when creating the network, the offerings are listed. So say, if we 
select the phy network that has a tag, an there exists no offerings matching 
the tag, nothing is returned. Because we do not include default offerings in 
the query
   
   @Pearl1594 
   I checked the database and get the following default network offerings
   ```
   +----+------------------------------------------------------------+
   | id | unique_name                                                |
   +----+------------------------------------------------------------+
   |  1 | System-Public-Network                                      |
   |  2 | System-Management-Network                                  |
   |  3 | System-Control-Network                                     |
   |  4 | System-Storage-Network                                     |
   |  5 | System-Private-Gateway-Network-Offering                    |
   |  6 | System-Private-Gateway-Network-Offering-Without-Vlan       |
   |  7 | DefaultSharedNetworkOfferingWithSGService                  |
   |  8 | DefaultSharedNetworkOffering                               |
   |  9 | DefaultTungstenSharedNetworkOfferingWithSGService          |
   | 10 | DefaultIsolatedNetworkOfferingWithSourceNatService         |
   | 11 | DefaultIsolatedNetworkOffering                             |
   | 12 | DefaultSharedNetscalerEIPandELBNetworkOffering             |
   | 13 | DefaultIsolatedNetworkOfferingForVpcNetworks               |
   | 14 | DefaultIsolatedNetworkOfferingForVpcNetworksNoLB           |
   | 15 | DefaultIsolatedNetworkOfferingForVpcNetworksWithInternalLB |
   | 16 | DefaultL2NetworkOffering                                   |
   | 17 | DefaultL2NetworkOfferingVlan                               |
   | 18 | DefaultL2NetworkOfferingConfigDrive                        |
   | 19 | DefaultL2NetworkOfferingConfigDriveVlan                    |
   | 20 | QuickCloudNoServices                                       |
   | 21 | DefaultNetworkOfferingforKubernetesService                 |
   | 22 | DefaultNSXNetworkOfferingforKubernetesService              |
   | 23 | DefaultNSXVPCNetworkOfferingforKubernetesService           |
   +----+------------------------------------------------------------+
   23 rows in set (0.00 sec)
   ```
   
   some are for Isolated networks or L2 networks. 
   But we do not specify physical networks when create isolated or L2 networks.
   
   IMHO, `default`=1 just means the network offerings are created by ACS.
   it is same as other network offerings created by administrators.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to