← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2025055] [NEW] [rfe][ml2] Add a new API that supports cloning a specified security group

 

Public bug reported:

Hi everyone:
  We want to define a new api that supports cloning a specified security_group.
  Consider the following case:
  If the user wants to create a new security_group with the same rules as a created security_group, he should do some duplicate actions to create rules.

  It looks expensive, so that we want to define a new API that supports
create a new security_group and automatically copy the rules from the
specified security_group.

API likes:
PUT  /v2.0/security-groups/{security_group_id}/clone

{
    "security_group": {
        "name": "newsecgroup",
        "description": "cloning security group from test",
        "stateful": true
    }
}

Does anyone have other ideas?

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ml2

** Description changed:

  Hi everyone:
-   We want to define a new api that supports cloning a specified security_group.
-   Consider the following case: 
-   If the user wants to create a new security_group with the same rules as a created security_group, he should do some duplicate actions to create rules.
+   We want to define a new api that supports cloning a specified security_group.
+   Consider the following case:
+   If the user wants to create a new security_group with the same rules as a created security_group, he should do some duplicate actions to create rules.
  
- It looks expensive, so that we want to define a new API that supports
+   It looks expensive, so that we want to define a new API that supports
  create a new security_group and automatically copy the rules from the
  specified security_group.
  
  API likes:
  PUT  /v2.0/security-groups/{security_group_id}/clone
  
  {
-     "security_group": {
-         "name": "newsecgroup",
-         "description": "cloning security group from test",
-         "stateful": true
-     }
+     "security_group": {
+         "name": "newsecgroup",
+         "description": "cloning security group from test",
+         "stateful": true
+     }
  }
  
  Does anyone have other ideas?

** Summary changed:

- [ml2] Add a new API that supports cloning a specified security group
+ [rfe][ml2] Add a new API that supports cloning a specified security group

** Tags added: ml2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2025055

Title:
  [rfe][ml2] Add a new API that supports cloning a specified security
  group

Status in neutron:
  New

Bug description:
  Hi everyone:
    We want to define a new api that supports cloning a specified security_group.
    Consider the following case:
    If the user wants to create a new security_group with the same rules as a created security_group, he should do some duplicate actions to create rules.

    It looks expensive, so that we want to define a new API that
  supports create a new security_group and automatically copy the rules
  from the specified security_group.

  API likes:
  PUT  /v2.0/security-groups/{security_group_id}/clone

  {
      "security_group": {
          "name": "newsecgroup",
          "description": "cloning security group from test",
          "stateful": true
      }
  }

  Does anyone have other ideas?

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2025055/+subscriptions



Follow ups