{"id":20074183,"url":"https://github.com/juniper/contrail-go-api","last_synced_at":"2025-05-05T21:31:23.097Z","repository":{"id":23614156,"uuid":"26983420","full_name":"Juniper/contrail-go-api","owner":"Juniper","description":"golang API bindings for OpenContrail","archived":false,"fork":false,"pushed_at":"2020-08-06T18:12:17.000Z","size":131,"stargazers_count":11,"open_issues_count":7,"forks_count":25,"subscribers_count":148,"default_branch":"master","last_synced_at":"2025-04-09T04:26:17.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Juniper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-22T00:15:31.000Z","updated_at":"2024-05-22T11:33:58.000Z","dependencies_parsed_at":"2022-07-27T04:02:30.859Z","dependency_job_id":null,"html_url":"https://github.com/Juniper/contrail-go-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juniper%2Fcontrail-go-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juniper%2Fcontrail-go-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juniper%2Fcontrail-go-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juniper%2Fcontrail-go-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Juniper","download_url":"https://codeload.github.com/Juniper/contrail-go-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252580021,"owners_count":21771252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T14:49:41.814Z","updated_at":"2025-05-05T21:31:22.520Z","avatar_url":"https://github.com/Juniper.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/Juniper/contrail-go-api.svg?branch=master)](https://travis-ci.org/Juniper/contrail-go-api)\n\ncontrail-go-api\n===============\n\ngolang API bindings for OpenContrail\n\nThe library consists on the contrail package plus an autogenerated\npackage \"contrail-go-api/types\" that contains types corresponding to\nthe OpenContrail datamodel defined in contrail-controller/src/schema.\n\nThe contail-go-api package can be installed with the \"go get\" command:\n```\ngo get github.com/Juniper/contrail-go-api\n```\n\nThe types package is generated using the command:\n```\ntools/generateds/generateDS.py -f -o $GOPATH/src/github.com/Juniper/contrail-go-api/types -g golang-api controller/src/schema/vnc_cfg.xsd\n```\n\nPre-generated tar files with the generated types are also available as part of each release. The golang types corresponding to the schema defined by OpenContrail R2.20 are available at:\n - https://github.com/Juniper/contrail-go-api/releases/download/1.0.0/contrail-go-api-generated-types-r2.20.tar.gz\n\nTo build the CLI command:\n```\ngo install github.com/Juniper/contrail-go-api/cli\n```\n\nTODO items:\n - Links between two identifiers often have metadata which\nconsists of a list of elements (e.g. association between\nvirtual-network and network-ipam is a list of subnets). Currently the way to modify this metadata on a link is to delete it and re-add it; the generator should generate helper methods to make manipulating these lists simpler.\n - VRouter API: The library needs to be extended in order to have a class that communicates with the vrouter-agent process in order to add/delete ports.\n - Provisioning taks: there is the need to capture common provisining tasks such as configuring BGP routers.\n - CLI: The CLI currently supports operations on networks, policies and virtual-routers. Additional support needs to be added for other common configuration and provisioning tasks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniper%2Fcontrail-go-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuniper%2Fcontrail-go-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniper%2Fcontrail-go-api/lists"}