# 2주차 과제 - 신민경

**URL:** <https://forum.openinfra-kr.org/t/topic/152>\
**Category:** 컨트리뷰션\
**Tags:** 2025컨트리뷰션, 컨트리뷰션\
**Created:** [7월 29, 2025, 8:34오전 UTC](https://forum.openinfra-kr.org/t/topic/152 "2025-07-29T08:34:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinminkyoung](https://forum.openinfra-kr.org/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@shinminkyoung](https://forum.openinfra-kr.org/u/shinminkyoung)\
**Post date:** [7월 29, 2025, 8:34오전 UTC](https://forum.openinfra-kr.org/t/topic/152/1 "2025-07-29T08:34:54Z")

</div>

![출력 결과](https://forum.openinfra-kr.org/uploads/default/original/1X/1367534638d7201d46cf491bae2cda6d5f2d978e.png)

### 기존 server list 출력

```bash
(OCA-OpenStack) minkyoungshin@Minkyoung-MacBook-Air OCA-OPENSTACK % openstack server list
+--------------------------------------+-----------------+--------+----------------------------------------+--------------------------+-----------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-----------------+--------+----------------------------------------+--------------------------+-----------+
| 182eef16-2d78-41c0-a962-c2e75cfc0699 | cirros-instance | ACTIVE | shared=192.168.100.59, 192.168.233.187 | N/A (booted from volume) | cirros256 |
+--------------------------------------+-----------------+--------+----------------------------------------+--------------------------+-----------+

```

### python-openstackclient의 server list Class를 수정하여 위 결과값에 project name , user name을 포함시켜서 출력되게 해주세요.

* * *

**`python-openstackclient/openstackclient/compute/v2/server.py`**

```
→ `ListServer` 클래스의 `take_action` 수정

```

1. line 3052~3053

2. 밑에 추가

3. line 3097~3098

4. line 3034~3047

5. line 2799~2780
