Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display network information of checkpoints created with Podman #132

Open
rst0git opened this issue Jun 2, 2024 · 2 comments
Open

Display network information of checkpoints created with Podman #132

rst0git opened this issue Jun 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@rst0git
Copy link
Member

rst0git commented Jun 2, 2024

checkpointctl currently shows IP address information for checkpoints created with CRI-O but not with Podman. For checkpoints created with Podman, this information is stored in network.status, which has content in a JSON format like the following example:

{
  "podman": {
    "interfaces": {
      "eth0": {
        "subnets": [
          {
            "ipnet": "10.88.0.9/16",
            "gateway": "10.88.0.1"
          }
        ],
        "mac_address": "f2:99:8d:fb:5a:57"
      }
    }
  }
}

To enable this feature, we need to extract the network.status file from the checkpoint and parse its content.

@rst0git rst0git added the enhancement New feature or request label Jun 2, 2024
@nick2432
Copy link

can i work on this?

@rst0git
Copy link
Member Author

rst0git commented Jul 21, 2024

@nick2432 Thank you for reaching out! You are more than welcome to work on this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants