1 개요[ | ]
- cf update-security-group
- 시큐리티 그룹을 업데이트하는 cf 명령어
2 예시[ | ]
Console
Copy
root@zetawiki:~# cf security-group sgredis1
Getting info for security group sgredis1 as testuser03
OK
Name sgredis1
Rules
[
{
"destination": "192.168.1.250/32",
"ports": "32768-61000",
"protocol": "tcp"
}
]
Organization Space
#0 cloudpack testuser01
#1 cloudpack testuser04
#2 cloudpack testuser03
Console
Copy
root@zetawiki:~# cat newsg.json
[
{
"destination": "192.168.1.100/32",
"ports": "32768-61000",
"protocol": "tcp"
}
]
Console
Copy
root@zetawiki:~# cf update-security-group sgredis1 newsg.json
Updating security group sgredis1 as testuser03
OK
TIP: Changes will not apply to existing running applications until they are restarted.
Console
Copy
root@zetawiki:~# cf security-group sgredis1
Getting info for security group sgredis1 as testuser03
OK
Name sgredis1
Rules
[
{
"destination": "192.168.1.100/32",
"ports": "32768-61000",
"protocol": "tcp"
}
]
Organization Space
#0 cloudpack testuser01
#1 cloudpack testuser04
#2 cloudpack testuser03
3 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.